← Back to Leaderboard
Fwrong-nebula

wrong-nebula/forma

#1

Rust mesh modeling with a declarative language and MCP for 3D automation.

View on GitHub ↗
MCP Server & SkillQuickstart ↓
Engineering Health (Methodology)
A+ · 94/100
Maintenance Activity
● Updated today
Latest Release
v0.4.4
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption19/25
Release Cadence20/20
License Clarity20/20
DockerMCPCLILocal AIGPU1 README badge views (30d)
Total Stars
★ 5,841
24h Growth
+3,015
7d Growth
+3,015
Forks
470

GitHub Star History

Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.

wrong-nebula/forma Star History (2026-12-01 - 2026-12-04) DAILY STAR HISTORY (4-DAY D1 TELEMETRY) +5.8k in 3d · avg +1.9k/day 6.2k 3.1k 0 2026-12-01: ★ 12026-12-02: ★ 7732026-12-03: ★ 2,8262026-12-04: ★ 5,841 ★ 5.8k 12-01 12-02 12-04

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Forma is a Rust 2021 workspace that separates geometry (forma-core) and language evaluation (forma-lang) from the CLI, MCP, HTTP worker, and WASM packages. Forma-Pipe scripts describe operations as declarative pipelines and select edges or faces semantically. The kernel works on double-precision polyhedral meshes; transaction snapshots support iterative edits without having to reconstruct the whole interaction as a Blender bpy script.

The stdio MCP surface is deliberately small: eval, inspect, tx, and export, with a combined schema budget of 789 o200k tokens. Agents can also invoke the CLI or use the supplied GBNF grammar for constrained decoding. The forma-3d npm package exposes direct JS/TS calls such as evalPipe, exportMesh, and renderPng; the separate forma-server crate is an opt-in HTTP/1.1 worker, not an HTTP transport for the MCP server.

Key Capabilities & Differentiators

The kernel uses BVH-localized constructive solid geometry with automatic chunking and fallback for multi-hole booleans. It also provides beveling, shelling, subdivision, lofts, sweeps, and linear and radial patterns. For imported GLB, OBJ, and STL meshes, topology-preserving QEM decimation provides a way to reduce mesh density before export.

The same workflow can emit a PBR GLB, a 3MF or STL for print workflows, or a faceted STEP solid for interchange. The CPU renderer produces front, right, top, and isometric PNG views; forma draw outputs a dimensioned 1200×900 SVG. In the reported 12-task, 144-trial suite, Forma-Pipe had a median of 115 code tokens versus 644 for bpy, and mean volumetric IoU was 0.9814 versus 0.8421. Those results characterize the tested parts, not arbitrary 3D workloads.

Trade-offs & Limitations

Forma narrows the problem compared with headless Blender: a compact DSL and CPU previews reduce startup and scripting overhead for repeatable mesh jobs, at the cost of Blender's broader scene and scripting capabilities. The supplied cold-start evaluation plus GLB export measurement is 16.9 ms for Forma versus 1,306.8 ms for Blender 5.3, but it is a workload-specific result. Use your own meshes and boolean sequences when sizing a service.

The principal compatibility limit is the geometry representation. STEP export carries planar faces, not analytic cylinders or NURBS; a file that opens in CAD is not necessarily suitable for downstream editing as an analytic solid. Strict manifold checking is useful as an export gate, but does not establish dimensional correctness or printability. Native .blend export also requires the optional Blender bridge. Forma itself is MIT-licensed.

Hardware & Deployment Guide

For local evaluation and export, use the native Rust build (cargo build --release) or the forma-3d npm package on Node.js 18 or newer. An MCP client can launch forma-mcp directly or run npx -y -p forma-3d forma-3d-mcp. Neither geometry evaluation nor preview needs a GPU or a hosted inference API. The measured native peak RSS was about 6–14 MB; size workers on representative inputs and concurrency rather than treating that range as a memory cap.

The Dockerfile builds and strips static forma-server and forma binaries with rust:1.83-alpine, then copies them into scratch. It starts /forma-server at 0.0.0.0:8080; keep the listener private or put it behind appropriate access controls. v0.4.1 makes manifold verification strict by default across CLI, MCP, and npm/WASM (--no-strict or strict: false to opt out). It also defaults pattern operations to union=true, adds radial axis=x|y|z, and raises max_statements to 4096 and the segs ceiling to 128.

Agent interface: Four stdio MCP tools (eval, inspect, tx, export) with a measured schema budget of 789 o200k tokens.
Geometry kernel: Double-precision polyhedral meshes with BVH-localized booleans, automatic batching for multi-hole cuts, and topology-preserving QEM decimation.
Validation: v0.4.1 enables strict manifold checks by default across CLI, MCP, and npm/WASM, with an explicit opt-out.
Visual feedback: CPU-rendered four-view PNG previews and dimensioned 1200×900 SVG blueprints.
Interchange: Imports GLB, OBJ, and STL; exports PBR GLB, 3MF, STL, OBJ, and faceted STEP. .blend export requires the optional Blender bridge.
Self-hosting: The multi-stage Docker build strips static server and CLI binaries into a scratch image that starts /forma-server on port 8080.
Best For

Agent-driven generation of dimensioned mesh parts, local batch conversion, and CPU-only previews, particularly when GLB, 3MF, STL, or faceted STEP is an acceptable handoff.

Skip If

You need editable analytic CAD geometry, Blender's broader scene workflow, or native .blend export without a Blender dependency.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releases · Newer release v0.4.4 (2026-12-03) shipped after this reviewMethodology

Quick Start & Installation

DockerMCPCLILocal AI
npx -y forma-3d eval --strict --out flange.glb --render flange.png --draw flange.svg <<'EOF'
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)
EOF

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/wrong-nebula/forma.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

wrong-nebula/forma Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about forma

Should I integrate Forma through MCP, the CLI, or HTTP?

For a tool-calling agent, use forma-mcp over stdio. Its four tools are eval, inspect, tx, and export. Use the CLI for file-oriented pipelines or the npm/WASM API for direct JavaScript or TypeScript integration. The optional forma-server is a separate HTTP/1.1 worker, not the stdio MCP endpoint.

Does Forma require a GPU or dedicated VRAM?

No. Geometry evaluation and the built-in four-view renderer run on CPU; Forma does not host a language model. The measured native peak RSS was about 6–14 MB in the supplied tests. Size production workers against representative mesh complexity and job concurrency, and budget for any local agent model separately.

Can we self-host Forma in a commercial product?

Yes. The MIT license permits commercial use and self-hosting. Preserve the copyright and permission notices when distributing copies or substantial portions of the software. If you bundle Blender for optional .blend export, review Blender's license obligations separately.

When should we keep headless Blender or use a CAD kernel instead?

Use Forma when the main job is scripted mesh construction, booleans, preview, and export. Keep Blender when you need broader scene workflows or native .blend tooling. If the handoff requires editable analytic surfaces, use a CAD kernel that preserves them: Forma's STEP output contains planar faces, not analytic cylinders or NURBS.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining wrong-nebula/forma? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature wrong-nebula/forma on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare