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.

1.7 MB native 0.8 MB wasm 6.1 MB rss 900 tok mcp 77–89× faster than Blender
Forma headless 3D polyhedral modeling engine
Forma headless 3D polyhedral modeling engine Forma-Pipe

Interactive Examples

Switch between runnable Forma-Pipe workflows.

Forma-Pipe — Machined flange
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)
CLI Invocation
npx -y forma-3d eval --strict --out flange.glb --render flange.png --draw flange.svg flange.forma
Outputs flange.glb · flange.png (4-view) · flange.svg (1200×900 blueprint)
Verified 3.9 ms batch eval · watertight manifold · 0 non-manifold edges

Benchmarks

12-model / 9-lab blind LLM ablation and macOS arm64 measurements.

Incumbent Forma
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
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.