A 1.2 MB pure-Rust rewrite of headless Blender built for AI agents — 3D B-rep modeling engine, CLI, and MCP server
Contributing to Forma
Contributions are very welcome! Check ROADMAP.md or the blueprints in contribute/ to see what's planned.
(If you're an AI agent, see AGENTS.md and SKILL.md.)
Build & Test
cargo test # core unit, integration & fuzz-invariant tests
cargo build --release # native CLI + MCP binaries
npm run build:wasm && npm test # WASM bundle + npm smoke tests
Optional crates (excluded from default-members): cargo build --release -p forma-server.
Repo Layout
crates/forma-core— mesh kernel, booleans, ops, UVs, spatial queries, preview renderer, import/exportcrates/forma-lang—Forma-PipeDSL, parser, evaluator, GBNF grammarcrates/forma-cli/forma-mcp/forma-wasm— CLI, stdio MCP server, andforma-3dWASM packagecrates/forma-server— opt-in headless HTTP workercontribute/— blueprints and notes for upcoming features and addons
Four Rules to Keep in Mind
- Keep core tiny: Core
formastays ~1.7–1.8 MB native / ~0.8 MB WASM (pure Rust, minimal deps). - Keep MCP compact: Core
forma-mcpstays under 800o200ktokens (currently 723). - Strict watertightness by default:
--strictmust reject non-manifold, open-boundary, inverted-winding,NaN, or zero-volume results and roll back cleanly. - Domain pipelines live in opt-in crates: Big domain workflows (3D printing, UE5, etc.) go in their own workspace crate excluded from
default-members(0bytes /0tokens added to core). Rigging, animation, map baking, and full PBR/EEVEE-class rendering are separate companion apps, not part of core Forma.
Sending Changes
- Bug fix or small improvement? Just open a PR with a test covering the change.
- Big new feature, op, or addon crate? Open a quick GitHub Issue first so we agree on the shape before you spend time building it.
- License:
GPL-3.0-or-later(LICENSE).