text-to-cad: Design physical products with AI.
Design physical products with AI. 100% open source and free.
curl -fsSL https://texttocad.dev/install.sh | shWORKS WITH THESE AGENTS
Features
The text-to-cad plugin gives your agent local workflows to generate 3D models as STEP, GLB, STL or 3MF files, check them for manufacturing, draw them, and connect to 3D printing, sheet metal and CNC services. It works with any agent that supports plugins or skills.
import build123d as bdfrom cad import model@modeldef bracket(): plate = bd.Box(60, 40, 4) wall = bd.Pos(0, -18, 22) * bd.Box(60, 4, 40) hole = bd.Pos(0, 6) * bd.Cylinder(4, 10) return plate + wall - holebracket.py
Parts and assemblies
Models written as Python scripts with build123d and OpenCASCADE, exported as STEP, STL, 3MF or GLB, and as DXF profiles and flat patterns for laser and waterjet cutting, with joints and animations for mechanisms, and shown live in the CAD viewer.
sensor.kicad_pcb
Circuit boards
KiCad schematics and boards, placed and routed, checked with ERC and DRC, reviewed before you order, and exported as fabrication files.
housing.step
Manufacturing checks
Whether a part can be machined, cut and bent, molded or 3D printed, measured against the process's rules, and what to change where it cannot.
bracket.pdf
Engineering drawings
Dimensioned PDF sheets projected from the part's geometry: views, hidden lines, centre marks, hole callouts and a title block.
bracket_flat.dxf, housing.gcode.3mf
Fabrication services
Checks DXF and STEP files against SendCutSend's guide before you upload them, and slices 3D prints with OrcaSlicer and sends them to Bambu Connect or Bambu Studio.
arm.urdf
Robotics and simulation
Robot and world descriptions for simulation and motion planning: URDF for ROS, SRDF for MoveIt and SDF for Gazebo.
Contributing
text-to-cad is MIT-licensed and built in the open.
Bugs and plugin requests
A bug report with the model script and the output of
cad doctoris the fastest to fix, and an agent app without a plugin gets one on request. A security problem is reported privately, as SECURITY.md says.Questions, ideas and what you made
Say what the skills got wrong, too: that is what improves them.
Code, skills and models
A new skill (a fabrication service, a printer, a CAD workflow) goes in
skills/, an example model inmodels/, and fixes anywhere. The contributing guide has the local setup and how to test in the agent apps.