cad-agent
by clawd-maf
Image & Video GenerationBrief
Rendering server for AI agents doing CAD work.
Description
What This Skill Does
CAD Agent is a Dockerized rendering server that lets AI agents issue build123d modeling commands and receive rendered images in return. The agent sends code via HTTP, gets back PNG renders, and iterates based on what it sees. All mesh processing and rendering runs inside the container.
Gives agents a visual feedback loop for CAD work, which text-only code execution cannot provide.
When to Use It
- Designing a 3D-printable bracket with iterative visual feedback
- Building parametric mechanical parts without leaving the chat interface
- Checking printability of a model before sending to a slicer
- Exporting STL/STEP files from AI-generated geometry
- Prototyping part geometry by describing dimensions in natural language
Example Workflow
User asks: Create a box with a cylindrical hole through it and export as STL
- 1
POST /model/create with build123d code defining Box(60, 40, 30)
- 2
POST /render/multiview to get a 4-view PNG and inspect the result
- 3
POST /model/modify to subtract a Cylinder from the box at the desired position
- 4
POST /render/3d to confirm the hole looks correct
- 5
POST /export with format STL to get the final file
part.stl file ready for slicing or printing
Requirements
- Docker (must be installed and running on the host)
Installation
clawhub install clawd-maf/cad-agentRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.