# Text-to-CAD: open-source, headless CAD for agents

> Source: <https://www.texttocad.dev>
> Published: 2026-11-26 16:02:48+00:00

**Key takeaway:** Agents can now emit manufacturing-ready CAD as Python build123d scripts exported to STEP, STL, 3MF, GLB and DXF, with built-in checks for machinability, 3D printing, sheet metal and CalculiX stress before fabrication.

# 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 | sh`
WORKS WITH THESE AGENTS

## [Features](#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.

- 

``` python
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](https://www.texttocad.dev/docs/cad)Models written as Python scripts with [build123d](https://github.com/gumyr/build123d) and[OpenCASCADE](https://github.com/Open-Cascade-SAS/OCCT) , exported as STEP, STL, 3MF or GLB, and as[DXF profiles and flat patterns](https://github.com/earthtojake/text-to-cad/blob/main/skills/cad/references/2d-profiles-and-dxf.md) for laser and waterjet cutting, with joints and animations for mechanisms, and shown live in the viewer.
- sensor.kicad_pcb [Circuit boards](https://www.texttocad.dev/docs/pcb)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](https://www.texttocad.dev/docs/cad#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.step [Stress checks](https://www.texttocad.dev/docs/fea)Whether a part or an assembly of bonded parts holds under its loads, solved with CalculiX: each part's peak stress, safety factor and how far it moves, drawn on the model.
- bracket.pdf [Engineering drawings](https://www.texttocad.dev/docs/engineering-drawing)Dimensioned PDF sheets projected from the part's geometry: views, hidden lines, centre marks, hole callouts and a title block.
- hero.png, turntable.mp4 [Renders](https://www.texttocad.dev/docs/render)Photoreal stills, turntables and films of a model with Blender, lit and framed in a Python script and run on the GPU, with a quick draft before each final.
- bracket_flat.dxf, housing.gcode.3mf [Fabrication services](https://www.texttocad.dev/docs/sendcutsend)[Checks DXF and STEP files against SendCutSend's guide](https://github.com/earthtojake/text-to-cad/blob/main/skills/sendcutsend/SKILL.md) before you upload them, and[slices 3D prints](https://github.com/earthtojake/text-to-cad/blob/main/skills/print3d/SKILL.md) with OrcaSlicer and sends them to Bambu Connect or Bambu Studio.
- arm.urdf [Robotics and simulation](https://www.texttocad.dev/docs/robot-simulation)Robot and world descriptions for simulation and motion planning: URDF for ROS, SRDF for MoveIt and MJCF for MuJoCo.

## [Community](#community)

Projects built on top of text-to-cad, and projects that text-to-cad uses.

- Studio: A community app by @amywork777: an open-source desktop CAD app for mechanical engineers, built on text-to-cad, for Mac and Windows. You describe a part to the agent, and the 3D model, drawings, stress check and versions sit beside the chat, where you can also edit the model by hand. [Website](https://texttocad.studio) ·[GitHub](https://github.com/amywork777/studio)
- build123d: The Python CAD library text-to-cad's models are written in: parts and assemblies as code, with sketches, features and joints, built on OpenCASCADE. [Docs](https://build123d.readthedocs.io) ·[GitHub](https://github.com/gumyr/build123d)
- OpenCASCADE: The open-source geometry kernel under build123d: it builds the solids and reads and writes the STEP files. [Website](https://dev.opencascade.org) ·[GitHub](https://github.com/Open-Cascade-SAS/OCCT)
- kicode: KiCad's command line, kicad-cli, and its Python client, KiPy, in one Python package: the headless KiCad that text-to-cad's circuit boards run on, with nothing else of KiCad installed. Unofficial: not made or supported by the KiCad project. [PyPI](https://pypi.org/project/kicode/) ·[GitHub](https://github.com/earthtojake/kicode)

## [Contributing](#contributing)

text-to-cad is MIT-licensed and built in the open.

- ### Bugs and plugin requestsA 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 issue](https://github.com/earthtojake/text-to-cad/issues/new)[Request a plugin](https://github.com/earthtojake/text-to-cad/issues/new?title=Plugin%20request%3A%20)[SECURITY.md](https://github.com/earthtojake/text-to-cad/blob/main/SECURITY.md)
- ### Questions, ideas and what you madeSay what the skills got wrong, too: that is what improves them. [Join the Discord](https://discord.gg/5FGB9DwJYU)
- ### Code, skills and modelsA 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](https://github.com/earthtojake/text-to-cad/blob/main/CONTRIBUTING.md)
