You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both CLIs: spec [--dialect pipe|compact] [--topic <deform|curves|uv|normals|remesh|scene>] [--gbnf] (also accepts topic as a positional argument, e.g. forma spec deform).
Exit codes
Code
Meaning
0
Evaluation and all requested exports/renders succeeded.
1
Script syntax/evaluation error, export error, or file I/O error.
2
Invalid CLI argument, missing required flag value, or unknown subcommand.
3
Strict manifold/invariant check failed (--strict auto-rollback or obs.ok == false, e.g. WT!=ok, NM>0, self-intersection).
Environment variables
Variable
Surface
Default
Effect
BLENDER_BIN
Native forma/forma-mcp and Node forma-3d/forma-3d-mcp
blender on PATH (or macOS /Applications/Blender.app/Contents/MacOS/Blender)
Path to local Blender binary invoked when exporting .blend.
FORMA_BIN
sandbox/forma.py
Auto-discovered
Explicit path to static forma binary in air-gapped Python sandboxes.
Native vs WASM parity matrix
Capability
Native forma
WASM forma-3d
Notes
Forma-Pipe and Forma-DSL evaluation
Yes
Yes
Identical forma-lang and forma-core code.
In-script units("mm") declaration
Yes
Yes
Portable across every runtime surface.
CLI --unit / -u flag
Yes
Yes
Sets initial unit before evaluating the script.
CLI --view single-angle PNG flag
Yes
Yes
Both CLIs support quad, front, back, right, left, top, iso.
.glb, .step, .3mf, .stl, .obj, .png, .svg
Yes
Yes
Identical exporters and software rasterizer.
.blend stock-Blender bridge export
Yes
Yes (Node CLI/MCP)
Uses local Blender (BLENDER_BIN or blender on PATH).
Built-in mcp subcommand
Separate binary (forma-mcp)
Yes (forma-3d mcp)
Native builds separate forma and forma-mcp binaries.