Use case
Run an LLM locally to rebuild CAD from a mesh
You can run an LLM locally to rebuild editable CAD from a scanned mesh, so proprietary part geometry never leaves your own network. CADMAGEDDON is an open-source agent that does this, and the honest limit is hardware: the reference serving setup wants a 48 GB GPU, not a laptop.
What the tool actually does
CADMAGEDDON takes a polygonal mesh and hands back an editable CAD program. The paper, submitted on 17 November 2026, describes an open-source agent that reconstructs editable CAD from meshes and can run locally on single-GPU systems and current-generation laptops, using the mid-sized Qwen3.8-27B model, and claims it beats prior approaches, including systems built on frontier models, on all the main benchmarks.
Its first line is the business case, in the authors' own words: CAD practitioners often work with proprietary parts that they are unwilling to share with external services.
The repository is MIT licensed. It takes .stl, .obj, .ply and .off. Per part it writes a CadQuery or FreeCAD program, an STL in the input mesh's frame, a .FCStd feature tree, and a metrics.json with status, calls, tokens and time.
That last file is the one that decides anything, because it is a per-part record of what the run cost you.
How much hardware it takes to run an LLM locally
More than a laptop, going by the README. The reference serving launch is vLLM with Qwen/Qwen3.8-27B-FP8, and the FP8 weights are about 30 GB, which the authors say fit on a single 48 GB GPU. The agent itself needs no GPU, it talks to any OpenAI compatible endpoint.
A pilot, with my own time estimates:
- Stand up the model on a GPU box you rent or borrow, about 30 minutes.
- Build the two conda environments (Linux or macOS, Python 3.11, CadQuery and OpenCASCADE from conda-forge, and a separate environment with FreeCAD 1.1.3 for the FreeCAD backend), about 60 minutes.
- Run one real part through
agent_run.pywith--base-urlpointed at your own endpoint, about 90 minutes including the first failure. - Score a folder of parts with
evaluate.py(IoU, GMS, Chamfer distance, invalid rate), about 60 minutes.
About four hours, and none of that is the hard part. Getting a 48 GB card is. If you want the gentler version of this exercise, running a free model on an office Mac is a two-hour afternoon.
The arithmetic, on your own numbers
Count R, the parts a month that arrive as a scan or a mesh with no model. Count M, the minutes an estimator spends rebuilding that geometry before quoting.
Say R is 30 and M is 40. That is 1,200 minutes a month, 20 hours.
Now assume the agent delivers a tree worth editing on half of them, and halves the time on those: 30 x 0.5 x 20 minutes is 300 minutes, about 5 hours a month.
Put your own cost against those 5 hours, then against the GPU and the setup. If it does not clear, the answer this month is no, and that is a real answer.
Before you pilot it
| What is true in your shop | What to do |
|---|---|
| Parts arrive as scans or meshes, no models | Run the four-hour pilot |
| Customers already send you STEP files | Skip it, you have no mesh problem |
| No Linux or Python on anyone's desk | Wait, or price the help first |
| The objection was only ever the cloud upload | Run it, the objection is now hardware |
The wider version of the same constraint sits in data that cannot leave the building, and what task-switching robots change for a small shop runs the same arithmetic on a different machine.
Limitations
- The repository has six commits. This is research code with a paper attached, not a supported product.
- The laptop claim and the 48 GB serving note do not sit easily together. I have not tested either.
- The install notes cover Linux and macOS. Windows is not mentioned, so a Windows shop needs a separate box or a VM.
- The quality claim is measured on benchmarks, not on your parts. Your castings and weldments are the real test.
- Nothing here touches quoting. Intake, pricing and follow-up stay exactly as they are.
- My guess: an estimator still cleans up the feature tree before it is usable. Budget for that.
My take
The useful thing in this paper is not the accuracy table. It is that "we cannot upload the part" stops being a reason to do nothing and becomes a hardware line item you can price.
If you have the parts problem and no GPU, do not buy one yet. Rent one for a day, push ten of your own meshes through it, read the metrics.json files, and decide with numbers from your own shop.
Questions people ask
Can CAD reconstruction run without sending files to the cloud?
Yes. CADMAGEDDON is an open-source agent that reconstructs editable CAD from meshes and, according to its paper, can run locally on single-GPU systems and current-generation laptops. The agent calls an OpenAI compatible endpoint, so that endpoint can be a server inside your own network.
What GPU do you need to run CADMAGEDDON locally?
The repository's reference serving setup is vLLM with Qwen/Qwen3.8-27B-FP8, and the FP8 weights are about 30 GB, which the authors say fit on a single 48 GB GPU. The agent process itself does not need a GPU, only the model server does.
Does CADMAGEDDON work with FreeCAD?
Yes. The paper states it integrates with FreeCAD so reconstructions land in existing CAD workflows, and the repository ships a FreeCAD backend that writes a .FCStd feature tree. That backend needs its own conda environment with FreeCAD 1.1.3.
Have a process like this leaking time or leads?Thirty minutes, no deck, and you leave with a plan.
Book a call