Forma vs Headless Blender for Agent-Made 3D Parts

2026-12-04

I needed a plate with five holes, the kind you bolt onto a frame, and I did not want to click around in a 3D program to get it. Blender is the usual program for that. Headless means the pictures stay off and a script drives the program. Those scripts point at corners by number, so a later cut can delete the corner the next line still names. I did not install Blender for this. I used Forma, a small program that builds the part from shapes you name, then subtract. The first try looked right and was four meters long, because I forgot the unit. The second plate was 80 mm by 40 mm by 8 mm, and forma vs headless blender came down to one result: closed, in 75 ms. Use Forma for the part. Keep Blender for the scene.

A solid, before either program matters, is a shape with an inside and an outside. A box is six flat faces. A hole is not a sticker on the picture. A hole is a second shape you remove, so the inside becomes empty there and the skin closes up around the gap. If the skin has a rip, with an edge that belongs to only one face, water would leak and a printer would not know what is inside. That closed skin is the thing both tools are trying to hand an agent. The agent is bad at babysitting corner numbers. It is fine at saying “box, then take these cylinders away.”

What Is Forma?

Decision comparison: Forma for one closed part written to a file, headless Blender for scenes, animation, sculpting and lit renders

Forma is a small 3D modeling program with no window, and the part is a line of shapes joined by a vertical bar. The bar means “then do this.” A box, then a cut, then another cut, is the whole plate. A cut here is the subtract I just described: the second shape is the material you throw away. Forma keeps the result as a mesh, which is only flat faces meeting at straight edges. There is no smooth clay and no true circle stored inside. I ran the package forma-3d at version 0.4.5. The command finished, printed WT=ok, and wrote a file. That WT line is the closed-skin check. Ok means every edge is shared by two faces.

The same idea is why people reach for Blender in the first place, then get stuck. Blender can build the plate too. It can also light a room, move a bone, sculpt a face, and render a frame. An agent that only needed the plate still has to speak that whole program’s language. Forma refuses the rest of the job so the one job stays short. If you have seen the same split on the web, a small reader instead of a full browser, that page is Moli vs Playwright. The plate is the same kind of choice.

Forma or Headless Blender for a Closed Part

Use Forma when an agent has to make one closed part and write a file. Use headless Blender when the job is already a Blender scene, or when you need animation, sculpting, or a lit shot.

I did not install Blender for this test, so I am not going to repeat anyone else’s timing or download size as if I had measured it. What I can compare is the job I actually had, and what each tool is for.

QuestionFormaHeadless Blender
Does it open a window?No.No, if you start it that way. The full program is still what you installed.
How do you describe the part?A line of named shapes.A script that talks to Blender’s own objects.
What I ranA five-hole plate, 75 ms, closed skin, about 21 KB on disk.Not this time. The script style is still corner numbers, which is the thing Forma skips.
Graphics cardNot used. The preview was drawn on the processor.A real lit frame often wants one. A plain mesh export often does not.
True curved solid in the fileNo. Faces are flat.You can keep real curves in some exports. A mesh export is still flat faces.
License on the package I ranGPL-3.0-or-later.Blender’s own license is also the GPL.

The row that decided it for me is the second one. I can read a line that says box, then cut, then four more cuts. I cannot glance at a script of corner indexes and know the hole is still in the middle.

How to Use Forma 3D From the Command Line

You do not install a program first. npx fetches the package, runs it, and can leave it cached for the next run. This is the plate I actually built, in millimeters:

npx -y forma-3d eval --strict --unit mm --out flange.glb --render flange.png <<'EOF'
flange = box(80, 40, 8)
  | cut(cyl(8, 20))
  | cut(cyl(4, 20), at=[(-28,-10,0), (-28,10,0), (28,-10,0), (28,10,0)])
section(flange, 0.0)
EOF

Read it from the inside. box(80, 40, 8) is width, depth, and thickness, 80 mm by 40 mm by 8 mm. cut subtracts. cyl(8, 20) is a cylinder with radius 8 mm and height 20 mm, so it sticks out past both faces of an 8 mm plate and the hole goes all the way through. The four smaller cylinders are radius 4 mm, placed by at. section slices the part at mid-height so you can count the holes. --strict refuses to write a file if the skin is not closed. --unit mm is the line I missed the first time.

Four-view preview of the 80 by 40 by 8 millimeter plate with one large center hole and four small corner holes

The result line was OK [74.80ms], size [80.00, 40.00, 8.00], WT=ok, volume 22403.640. The glb file, a common 3D file you can drop into a viewer, was 21,104 bytes. The preview png was a four-view drawing, not a photograph.

Here is the first run. I left the unit off. The default unit is meters. box(4, 2, 0.4) is a legal plate, and the preview looks like the small one, because a picture has no ruler. The size line is the ruler. Mine said size=[4.00, 2.00, 0.40] and the unit was meters, so I had modeled a plate four meters long. Pass --unit mm, or put units("mm") in the script, before you trust the picture.

Does Forma Replace Blender?

No. Forma replaces the script that makes a closed part. It does not replace Blender.

I would still open Blender if the next sentence is “now move the camera,” “bend this over time,” “sculpt the corner by hand,” or “show me this material under a lamp.” Forma will not do those. It also will not hand a machine shop a true cylinder, which is the next section. What it will do is the plate, a spacer, a bracket, a raised ring with a hole, and a check that the skin closed.

That is the same split as handing an agent a level file and still opening the real editor for the look. LDtk vs Tiled is that argument for flat game maps. The part file is the map. Blender is the editor you open when the file is no longer the whole job.

Why the Hole Is Smaller Than the Circle

The hole is smaller than the circle because a cylinder in Forma is a ring of flat sides, and the default ring has 32 sides whose corners sit on the circle you named. The flats sit inside that circle. A pin sized to the circle catches on the flats.

A circle of radius 8 with an eight-sided polygon drawn inside it: the corners touch the circle, the flats sit inside

Take a cube 20 mm on a side, 8 mm thick, and one hole of radius 8 mm, so a true circle would be 16 mm across. A true circle of radius 8 mm has area π times 64, about 201.06 mm². Times the 8 mm thickness, the hole removes about 1,608.5 mm³. The cube is 3,200 mm³, so a true hole would leave about 1,591.5 mm³.

Forma, at the default 32 sides, reported volume 1601.820. That is about 10 mm³ more solid than the true circle, which means less hole. The narrowest width is not the corner-to-corner 16 mm. It is the flat-to-flat width. For 32 sides that width is 15.92 mm. A perfect 16.00 mm pin does not pass.

I ran the same cube with cyl(8, 20, segs=128). Volume came back 1592.150, next to the true 1,591.5, and the flat-to-flat width is 15.995 mm. Ask for more sides when a pin has to pass. The picture will look round either way. The volume line will not.

The five-hole plate matches the same arithmetic. The face is 80 times 40, which is 3,200 mm². One 32-sided hole of radius 8 and four of radius 4 remove about 399.5 mm², not the 402.1 mm² of true circles. 3,200 minus 399.5 is 2,800.5. Forma’s slice reported area 2800.455. I am not taking the program’s word against a different measurement. The slice and the polygon formula are the same number.

How to Tell the Solid Is Closed

The run tells you, on the same line as the size. WT=ok means the skin is closed. On the plate it also printed NM=0 and B=0, no broken edges and no open border. The slice said loops=6. One loop is the outer rectangle. The other five are the holes. If a hole had failed to punch through, that loop would be missing and the area would be the full 3,200.

Front, right, top and isometric views of a cube with one round hole through it

I also asked it to fail on purpose:

npx -y forma-3d eval --strict --out bad.glb <<'EOF'
bad = box(1, 1, 1) | cut(box(2, 2, 2))
EOF

The second box swallowed the first. Nothing was left. Forma answered empty result: no geometry is left and rolled the part back. It did not write a hollow file and call that success. That is the failure I want. A preview that looks fine and a file that is empty is how a numbered-corner script can lie.

If you put this program inside a fenced machine so the agent cannot touch the rest of the computer, the fence is a separate choice. coop is one way to build that fence. Forma is only the tool you run inside it. A closed solid does not make the fence.

How to Let an Agent Run Forma

Start the tool server with npx -y -p forma-3d forma-3d mcp, or the forma-3d mcp command if the package is already on the machine. That process is MCP (a small server the agent is allowed to run). The useful part is that the agent calls a few named tools, instead of inventing a long Blender script. In the build I ran, the command list on the program itself is eval, lint, render, draw, and spec. Point the agent at eval with --strict and --unit mm, and tell it to read the volume and the WT line before it says the part is done.

A tool call still costs text. The server does not make the model free. How those calls get padded is a different problem, and the Pi write-up is the one I would read next if the bill is the pain: what Pi did with MCP.

The official project page, if you want the language reference after this test, is wrong-nebula/forma. Blender’s own site is blender.org.

Can Forma Run Without a Graphics Card?

Yes. Nothing in the plate run asked for a graphics card. The png is a flat studio drawing from the processor: front, side, top, and a tilted view. It is enough to see that the five holes exist. It is not a substitute for a lit render, and it will not show you a brushed metal the way a photo would. If the picture is the product, open Blender, or any renderer you already trust.

Does Forma Export a Real STEP File?

It writes a STEP file, and the file says the solid is faceted. I exported a cube with one hole and opened the text. The description line was Forma Pure-Rust Faceted Manifold Solid (Planar Faces). I searched the file for a cylindrical surface and did not find one. STEP is the exchange file machine shops and CAD programs pass around. A faceted STEP is a pile of flat faces wearing that file’s clothes. A shop that checks a cylinder by its radius in the file will not see a cylinder. A shop that only needs a mesh to print, or a glb to look at, will not care. Say which one you are before you send the file.

What Happens If the Cut Removes the Whole Part

You get an error and no file, as in the swallowed-box test above. The usual causes are a cutter that does not touch the part, a cutter that contains the whole part, or a leftover so thin the program treats it as nothing. Move the cutter, or make it shorter, and run again. Do not drop --strict to force a file out. That flag is the closed-skin promise.

Is Forma Free to Use in a Product?

The package I ran is free, and the license on it is GPL-3.0-or-later. Running the command to make a plate does not, by itself, ask you for money. Folding the code into a closed program you ship is a different step, and the license has rules about sharing source when you do that. I am not a lawyer. If the plate is the output and Forma stays a separate program you call, you are in the simple case. If you want to hide Forma’s code inside an app you sell, read the license before you do it.

I would send an agent to Forma for the next bracket, spacer, or this same plate, with millimeters written down and more sides on any hole a pin has to pass. I would open Blender the moment the job grows a camera, a bend over time, or a material I have to judge by eye. The preview looking round is not the test. The width of the hole is the test.

Leave a comment