text-to-cad: Design physical products with AI.

Design physical products with AI. 100% open source and free.

ONE-LINE INSTALL
curl -fsSL https://texttocad.dev/install.sh | sh

WORKS WITH THESE AGENTS

  • Claude Code
  • Codex
  • Cursor
  • Gemini
  • Grok
  • GitHub Copilot
  • Windsurf
  • Cline
  • AMP
  • Antigravity
  • OpenClaw
  • Droid
  • Goose
  • Kilo
  • Kiro CLI
  • Hermes
  • OpenCode
  • Roo
  • Trae
  • VS Code
  • Zed

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 - hole

    bracket.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 doctor is 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.

    Open an issueRequest a pluginSECURITY.md

  • Questions, ideas and what you made

    Say what the skills got wrong, too: that is what improves them.

    Join the Discord

  • Code, skills and models

    A new skill (a fabrication service, a printer, a CAD workflow) goes in skills/, an example model in models/, and fixes anywhere. The contributing guide has the local setup and how to test in the agent apps.

    Contributing guide