Forma
Polyhedral CAD in 1.7 MB.
Watertight CSG booleans, bevels, lofts, threads, and zero-GPU 4-view renders from a declarative pipe language. Built to replace headless Blender.
Interactive Examples
Switch between runnable Forma-Pipe workflows.
flange = box(4, 2, 0.4)
| mat("brushed_steel", color=(0.55, 0.68, 0.85), metallic=0.9, roughness=0.25)
| cut(cyl(0.5, 1))
| cut(cyl(0.25, 1), at=[(-1.4,-0.5,0), (-1.4,0.5,0), (1.4,-0.5,0), (1.4,0.5,0)])
section(flange, 0.0) units("mm")
body = box(90, 60, 32)
| bevel(4, select="vertical")
| shell(2.4, open="top")
| cut(cyl(6, 12), at=[(0, -30, 14)], rot=(90, 0, 0))
lid = box(90, 60, 4) | bevel(4, select="vertical") | on(body)
clearance(body, lid) units("mm")
head = cyl(8, 5, segs=6) | bevel(0.5, select="top_rim")
shank = thread(major=10, pitch=1.5, length=24) | align("z", "max", 0)
bolt = head | union(shank) | mat("zinc", metallic=0.88, roughness=0.28)
features(bolt) {
"mcpServers": {
"forma": {
"command": "npx",
"args": ["-y", "-p", "forma-3d", "forma-3d-mcp"]
}
}
} Benchmarks
12-model / 9-lab blind LLM ablation and macOS arm64 measurements.
| Metric | Incumbent | Forma | Delta |
|---|---|---|---|
| Cold-start eval + GLB | 1,306.8 ms (Blender 5.3) | 15.3 ms (8-model suite) | 85× faster |
| Completion tokens (12 models) | 294,661 tok | 84,551 tok | 3.49× fewer |
| Pass rate (12 models / 9 labs) | 79.1% (bpy) | 95.5% – 100% | +16.4 pp |
| Install footprint | 953 MB | 1.7 MB native · 0.8 MB WASM | 560× smaller |
| Peak RSS | 223 MB | 6.1 MB (macOS) | 36× less RAM |
Architecture
Exports: .glb · .step · .3mf · .stl · .obj · .svg · 4-view .png
Semantic selectors
Chain primitives and ops (box | bevel | shell | cut) with named selectors like vertical, top_rim, and outer_rim—no integer vertex indices.
Strict manifold kernel
Double-precision booleans with BVH localization, ring-preserving bevels, shell, Catmull-Clark subsurf, loft, pipe, helical threads, and patterns.
Spatial lint
Relational placement (on, align), 3D clearance queries, 2D cross-sections, cached feature extraction, and 0-token-when-clean contact lint.
Zero-GPU previews & blueprints
4-view studio PNGs in ~2.8 ms with branchless SSAO-lite, plus dimensioned 1200×900 vector SVG engineering drawings.
Outputs
Rendered directly by Forma.