Forma

Polyhedral CAD in 1.7 MB.

Watertight CSG booleans, bevels, lofts, threads, and zero-GPU 4-view renders from a short pipe language. Built to replace headless Blender.

1.7 MB native 0.8 MB wasm 6.1 MB rss 900 tok mcp 77-89x faster than Blender
Interactive Forma GLB meshes (Three.js r187)
Drag to orbit · Scroll to zoom
Loading mesh...
1.7 MB binary15.3 ms cold-start3.5x-15.5x fewer tokensWT=OK · NM=0
Blender 5.3 / bpy 953 MB · 1,307 ms · NM=22
import bpy, bmesh
# guess integer edge indices
edges = [bm.edges[1], bm.edges[3], bm.edges[7]]
bmesh.ops.bevel(bm, geom=edges, offset=0.3)
mod.type = 'BOOLEAN'
# 22 non-manifold edges, 223 MB RSS
Fragile index math, broken booleans, ~2,800 tokens
Forma / Forma-Pipe
1.7 MB · 15.3 ms · WT=OK
box(4, 2, 0.4)
  | bevel(vertical, 0.3)
  | shell(0.15)
  | cut(holes: 5)
section(flange, 0.0)
77-89x faster · 36x less RAM · WT=OK
Pure-Rust studio renders (zero GPU) 6 real Forma meshes · WT=OK
Steel flange (5-hole batch CSG)
Steel flange
5-hole batch CSG
WT=OK
Titanium bolt (Helical thread)
Titanium bolt
Helical thread
WT=OK
Loft duct (Round to square)
Loft duct
Round to square
WT=OK
Subsurf mug (Shell + handle)
Subsurf mug
Shell + handle
WT=OK
Text3D plaque (Engraved bevel)
Text3D plaque
Engraved bevel
WT=OK
Beveled box (Ring-preserving)
Beveled box
Ring-preserving
WT=OK

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 (1200x900 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) 85x faster
Completion tokens (12 models)
294,661 tok 84,551 tok 3.49x 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 560x smaller
Peak RSS
223 MB 6.1 MB (macOS) 36x less RAM
Metric Incumbent Forma Delta
Cold-start eval + GLB 1,306.8 ms (Blender 5.3) 15.3 ms (8-model suite) 85x faster
Completion tokens (12 models) 294,661 tok 84,551 tok 3.49x 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 560x smaller
Peak RSS 223 MB 6.1 MB (macOS) 36x 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 fragile 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 and blueprints

4-view studio PNGs in ~2.8 ms with branchless SSAO-lite, plus dimensioned 1200x900 vector SVG engineering drawings.

Outputs

Rendered directly by Forma.