Forma
$ forma Community Low RiskForma (wrong-nebula/forma) is an ultra-lightweight pure-Rust headless 3D polyhedral/B-rep modeling engine, CLI, and MCP server designed as an agent-native alternative to heavy Blender installs. Exposes forma spec for LLM grammar discovery, forma eval --strict for GLB/STEP/STL export, forma render for 4-view PNGs, and forma draw for dimensioned SVG blueprints.
npx -y forma-3d CLI (forma spec, forma eval --strict, forma render) is ideal for script-driven CAD pipelines; the built-in MCP server suits visual feedback loops.
At a Glance
- Command
- $ forma
- FCRS-1.0 Score
- 88/100 (Good)
- Evidence Tier
- Medium Confidence
- CLI vs MCP
- Hybrid (CLI + MCP)
- Reviewed Date
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Ships forma spec self-describing LLM grammar reference, --strict validation, and headless eval/render/draw outputs.
forma spec,eval --strict, headless PNGrender, and SVGdraw
Pure offline deterministic geometry kernel with zero network access and transactional --strict evaluation.
- 100% offline execution; writes only explicit
--outartifacts
Zero-install cross-platform WASM via npx -y forma-3d or a 1.2 MB pure-Rust binary via Cargo.
- Runs via
npx -y forma-3d(WASM) or native Cargo build
Replaces multi-hundred-megabyte headless Blender setups with instant sub-second CAD evaluation and 4-view verification.
- 1.2 MB B-rep engine generating GLB/STEP/STL, PNG, and SVG
Fast-growing community Rust CAD project (wrong-nebula/forma, 8.6k+ stars) under GPL-3.0.
wrong-nebula/formarepository
Self-contained forma spec output plus GitHub README examples for CLI and MCP.
- Built-in
forma specand GitHub README
Security, Auth & Guardrails
Zero credentials or cloud dependencies; runs 100% offline on local geometry scripts.
GPL-3.0 open-source and free; runs natively in 1.2 MB or zero-install WASM via npx -y forma-3d.
# forma Agent Rules - Run `forma spec` first so `.forma` scripts strictly match supported B-rep grammar. - Always pass `--strict` to `forma eval` to catch invalid manifold/boolean geometry early. - Inspect `forma render` PNGs visually before finalizing multi-part CAD assemblies.
Agent-Ready Command Recipes
Safe Read-Only Queries
forma spec
Outputs the concise grammar and built-in primitives reference before authoring .forma scripts.
Controlled Writes & Previews
.forma model strictly and export GLB forma eval --strict --out part.glb model.forma
Validates geometry transactionally and writes the 3D part.glb mesh.
forma render --out preview.png model.forma && forma draw --out blueprint.svg model.forma
Generates studio multi-view PNG renders and dimensioned vector engineering drawings.
Strengths for Agents
- + Built-in
forma specgives LLMs the complete modeling grammar in one command. - + Instant 1.2 MB Rust binary or zero-install
npx -y forma-3dWASM execution. - + Exports GLB/STEP/STL alongside 4-view PNG renders and dimensioned SVG blueprints.
Caveats & Pitfalls
- ! Focused on procedural B-rep/CAD modeling rather than full photorealistic raytraced animation.
- ! GPL-3.0 license requires compliance when embedding inside proprietary distributions.
Official References
Tested Agent Hosts
Follow Ecosystem Links
Related CLIs in Design & Docs
View category hub →Official W3C EPUB specification validator: `epubcheck book.epub --json report.json` checks EPUB 2/3 conformance.
Inspect, subset, and XML-convert OpenType/TrueType fonts (`fonttools`, `ttx`, `pyftsubset`): `fonttools subset font.ttf --unicodes=U+0020-007E`.
Generate zero-runtime TypeScript types from OpenAPI 3.0/3.1 schemas: `openapi-typescript schema.yaml -o schema.d.ts`.
Architecture-as-code C4 diagram CLI: `likec4 validate`, `likec4 export json`, and `likec4 export png|drawio`.
OpenAPI diff & breaking-change detector: `oasdiff breaking base.yaml rev.yaml` and `oasdiff changelog`.