CADMAGEDDON enables high-fidelity computer-aided design reconstruction through local inference.
CADMAGEDDON uses named geometry and Qwen3.8-27B to turn meshes into editable CadQuery or FreeCAD code, improving benchmark scores locally.
Summary Points
- CADMAGEDDON is an open-weight mesh-to-design workflow that converts 3D meshes into editable CAD programs using Qwen3.8-27B and geometric tools, without requiring a frontier API.
- Its core idea is to separate numerical geometry from build planning: geometric instruments detect, name, and fit exact entities, while the model only decides what to build or fix next.
- The agent generates CadQuery or native FreeCAD code by referring to named geometry, reducing brittle errors from misnamed features, dimensions, holes, arcs, patterns, or faces.
- Reported benchmarks show strong gains over CADFather: MCB IoU rises from 0.862 to 0.933, GMS from 0.705 to 0.818, CADENA-Bench GMS from 0.800 to 0.909, and BenchCAD voxel IoU reaches 0.991.
- The project releases code and runs on a single 48 GB GPU, but its practical value depends on reliable entity naming, robust planning from renders, and transferability to unfamiliar mesh types.
Meta description: CADMAGEDDON turns meshes into editable computer-aided design with Qwen3.8-27B and geometric tools, reaching 0.933 on MCB without a frontier API, with code.

Tags: CADMAGEDDON, mesh-to-design, Qwen3.8-27B, CadQuery, FreeCAD
Featured image: Abstract computer-aided design wireframe merging with a 3D mesh surface, no real people, no company logos, no text.
Background: the coordinate problem in mesh-to-design conversion
CADMAGEDDON is an open-weight workflow for turning mesh models into editable computer-aided design programs. It uses one open-weight model, Qwen3.8-27B, and needs no frontier API. Its main change is not a larger model, but a split between numerical geometry and build planning.
Most mesh-to-design systems make a model write the whole program, including every coordinate and dimension. That approach asks one model to recognize shape, calculate exact values, and emit code at the same time.
That design can make the generated program brittle. If the model misnames a level, fitted line or arc, face, hole stack, or pattern, the error can carry into later dimensions and code steps. CADMAGEDDON reduces that risk by giving the model a narrower decision role.
Development Process: named geometry first, visual language model second
The workflow divides each feature into two parts.
First, geometric instruments detect and name the entities on the target mesh. The source names levels, fitted lines and arcs, faces, hole stacks, and patterns. These instruments also fit exact values for the entities they find.
Second, a mid-sized visual language model (VLM), Qwen3.8-27B, looks at renders and decides only what to build next and what to fix. Instead of writing every coordinate, it refers to geometry by name. This lets the agent emit CadQuery or native FreeCAD programs while leaving precise fitting to the instruments.
No reconstruction model is trained for this pipeline. The agent emits CadQuery or native FreeCAD programs, and the model fits on a single 48 GB GPU.
Latest Progress: benchmark gains and released code
The reported results compare CADMAGEDDON with the strongest baseline, CADFather.
- MCB: Intersection over Union (IoU) rises from 0.862 to 0.933, and the GMS score rises from 0.705 to 0.818.
- CADENA-Bench: the GMS score rises from 0.800 to 0.909.
- BenchCAD (64³ voxel IoU): the score is 0.991, above the best self-reported frontier entry (0.963).
The project provides code at https://github.com/kulibinai/cadmageddon. The benchmark table gives the clearest signal: the named-geometry split improves overlap and matching scores against CADFather, while the model remains within one 48 GB GPU.
What to Watch: whether the split improves editable workflows
The key question for readers is whether separating detection, fitting, and planning produces editable design programs in CadQuery or native FreeCAD. The benchmarks show gains on MCB, CADENA-Bench, and BenchCAD, but the practical value depends on how consistently the geometric instruments name entities and how reliably Qwen3.8-27B chooses the next build step from renders.
Because no reconstruction model is trained, the approach also leaves open how well it transfers to mesh types with unfamiliar hole stacks, patterns, or fitted lines and arcs. The released code makes it possible to test the workflow on the same benchmarks and on other mesh-to-design tasks.
Comments
No comments yet. Be the first to comment.