smoothstone gets a 1.7B model to make 3D-printable parts by never letting it write geometry
A small local model scored 0 of 15 writing OpenSCAD. With a CLI that only lets it pick a recipe and fill in sizes, the author reports 39 of 40 on blind requests.
smoothstone is a skill and a command-line tool, stone, that lets a small local model turn a sentence or a picture into a printable STL file. The author, baney75, started from a failure. They report that LFM3-1.7B, asked to write OpenSCAD code directly, produced a working part 0 times out of 15, and that the best skill they could write got a fan guard right 2 times in 5.
How it works
The fix was to take geometry away from the model. The model never writes a shape. It picks one of 16 tested recipes (a fan guard, a cable comb, a gridfinity bin, a spur gear, a lithophane and so on) and fills in sizes from the request. The stone tool builds the part with OpenSCAD.
Every command ends with a NEXT: line telling the model what to run next, and the job state lives on disk. That matters for small models, whose context gets compacted mid-task. stone status reprints the request, the recipe, the sizes, and the next step, so a model that has forgotten everything can pick up again.
Each build is then checked like a print: one watertight body, enough first-layer contact, minimum wall thickness, limited overhang, and dimensions that match the recipe. A failed check names the setting to change and the command that changes it.
The numbers, and the log
All results are the author’s own. The blind requests were written by a fresh agent that saw only the parameter list, and were sealed before each run. On the final set, the README reports 39 of 40 runs producing the right part at the right sizes, and 38 of 40 with the model’s context wiped partway through.
The more useful document is LOG.md, which keeps the bad sets. Blind set 4 scored 20 of 40. The model set a comb slot to exactly 5.0 mm for 5 mm cables, and read “4 arcade buttons” as nothing. Set 5 reached 37 of 40 but only 24 of 40 after compaction, with misses on phrases like “leave off”. The fixes went into the tool’s request matcher, not the model, and set 6 was the clean test.
So this is not a small model that learned CAD. It is a parser and a recipe library tuned over repeated blind rounds, with a model doing the last step. A shape with no recipe is out of reach until someone writes one.
Try it yourself
The repo is MIT licensed, with 34 commits dated November 15 to 18. You need uv, an OpenSCAD 2026 build with the Manifold backend, and potrace for picture input. The evals run LFM3-1.7B on a CPU through llama.cpp. A newer pipeline that turns photos into mini figures needs an Apple silicon Mac with 16 GB, and the README notes that one of its models carries a license excluding the EU, UK, and South Korea.
We have not run it or printed anything. This is based on the README, the log, and the commit history.