EXP-005
cadSpec
- What was built
- A CAD-as-code CLI and Rust library. Two-dimensional geometry is declared in
.cfTOML files (layers, arrays and mirrors, dimensions).cadspec servepreviews it live in the browser; the tool validates and formats the source and compiles it to DXF, with PNG and SVG previews for AI agents. Shipped as 0.1.0 betas. - What we learned
- Declared sources diff and review cleanly, and the same source always compiles to the same DXF. The hard part was not the format. It was everything around the drawing: the viewer, the validation, and the interop with the tools people already use.
- Why it closed
- Existing tools already cover this better. ezdxf does 2D DXF from code, CadQuery does 3D, OpenSCAD has its own scripts and libraries, and FreeCAD has an MCP server. cadSpec could not compete with them, so no more tokens go into it.
- Use instead
- ezdxf for 2D DXF. CadQuery for 3D parametric models. OpenSCAD for scripted solids. FreeCAD with its MCP server for agent-driven CAD.
- Archived repository
- github.com/UniverLab/cadspec