Skip to content
MrWhite 白先生· @neuronxwhite · X·· 7 h agoFeaturedAI score78

Forma goes open source: a 3D modeling engine written in Rust lets AI write code to generate printable parts

Editorial summary

Forma was open-sourced on December 2. It is a lightweight 3D modeling engine written in Rust. AI can write code such as box(4, 2, 0.4) | cut(cyl(0.5, 1)) to generate parts and export .stl and .3mf files into slicing software. It also outputs four-view previews for AI self-checking, and running it does not require a GPU.

Why it matters

Using volume comparisons and the author's own test data, it presents an open-source engine aimed at AI code-based modeling that can output STL directly, along with its STEP precision limitations.

Read original text
English translation

Let AI directly build 3D-printable parts, no need to install Blender anymore

Forma is a 3D modeling engine just open-sourced on December 2. Written in Rust, the entire program is under 2 MB, while Blender is 953 MB. When AI writes a few lines of code like box(4, 2, 0.4) | cut(cyl(0.5, 1)), it generates the part, exports .stl and .3mf straight into slicing software, and then produces a four-view preview so the AI can check it itself, all without a graphics card. In less than a day online, it has nearly 1,300 stars.

How to get started:

  1. If you have Node, you're set: npx -y forma-3d eval
  2. To connect it to Claude Code or Cursor: fill in npx -y -p forma-3d forma-3d-mcp in the MCP configuration
  3. Tell the AI the part dimensions; it writes the code, looks at the preview, and revises

The author himself tested 12 models across 6 kinds of parts (flanges, nuts, cups, and the like): writing Blender scripts got it right about 80% of the time within 3 attempts; switching to Forma raised that to 95%, with 70% fewer output tokens.

Limitation: the exported .step is assembled from small flat facets, so round holes are not truly round; if you need to take it into CAD software for further editing, it is not sufficient.

github.com/wrong-nebula/forma

Source: MrWhite 白先生 · x.com