A Claude Code skill suite that generates parametric 3D models (build123d/CadQuery) and interactive Three.js previews from natural language descriptions of physical objects. Describe what you want to make, and cadsmith produces a print-ready model alongside a browser-based 3D preview you can orbit and inspect.
git clone git@github.com:JonFermin/cadsmith.git
cd cadsmithThe skills auto-load when Claude Code runs from this directory.
From Claude Code:
/make-model a phone stand
/make-model design a bracket for my shelf
/make-model create a cable organizer with 6 slots
/edit-model street_intersection
/export-model bracket -f glb
Or just describe what you want in natural language — the CLAUDE.md hints Claude to use the skill when you mention modeling or designing physical objects.
| Skill | Purpose |
|---|---|
/make-model |
Generate parametric build123d Python models + Three.js preview manifests |
/edit-model |
Review and fix existing models via reviewer/fixer agent team |
/export-model |
Export models to STL, OBJ, glTF, or GLB via Blender pipeline |
The repo includes a standalone Three.js previewer for inspecting generated models:
cd previewer
npm install
npm run devThis opens a browser at http://localhost:3000. Load a _manifest.json file via the file picker, drag & drop, or URL parameter.
- You describe a physical object
- cadsmith asks brief clarifying questions (1 round max, defaults aggressively)
- Generates a parametric
.pyfile (build123d) in./output/with.stepand.stlexports - Generates a
_manifest.jsonscene description for the previewer - Runs a reviewer/fixer agent loop to catch and correct issues
- Opens the Three.js preview in your browser
The .py file is the source of truth. The Three.js preview is a fast visual approximation — difference() operations show as transparent red wireframes since true CSG isn't available in the browser.
cadsmith/
├── .claude/
│ ├── skills/
│ │ ├── make-model/ # Model generation skill
│ │ ├── edit-model/ # Review & fix skill
│ │ └── export-model/ # Export pipeline skill
│ └── agents/
│ ├── review-model.md # Visual review agent
│ └── fix-model.md # Targeted fix agent
├── previewer/ # Three.js preview app (Vite)
├── pipeline/ # Export pipeline (Blender)
├── output/ # Generated models and manifests (gitignored)
├── CLAUDE.md # Project-level Claude instructions
└── README.md
MIT