# text-to-cad

Source: https://trendhub.net/skills/earthtojake-text-to-cad
Repository: https://github.com/earthtojake/text-to-cad
Author: earthtojake (https://github.com/earthtojake)
License: MIT
GitHub stars: 27,647

text-to-cad is earthtojake's plugin of hardware design skills, backed by a local cad command and viewer, that lets a coding agent write parts and assemblies as build123d Python scripts, check them for manufacturing and stress, draw them, lay out KiCad boards and prepare files for printing or sheet cutting. It suits makers and engineers who want an agent to produce real CAD files instead of descriptions.

## What problems it solves

- **Agents describe parts instead of modelling them**: Parts and assemblies are Python functions built by a local server, shown live in a viewer and exported as STEP, STL, 3MF, GLB or DXF.
- **A model that cannot be made**: When a process is named, the agent designs for CNC, sheet metal, molding or printing from the start and runs that process's check after each edit.
- **No idea if a part holds**: A linear static study meshes the part, solves it with CalculiX and reports peak stress, safety factor and deflection with findings to act on.
- **Boards checked by eye only**: The PCB skill edits native KiCad files, runs ERC and DRC after each step and reviews the board against a named fab's limits before ordering.

## Install

### macOS and Linux (all detected agent apps)

Sets up the plugin or skills in each agent app and registers the cad command; run again to update.

```
curl -fsSL https://texttocad.dev/install.sh | sh
```

### Windows PowerShell (all detected agent apps)

The Windows equivalent of the shell installer; per-app manual steps are in docs/install.md.

```
irm https://www.texttocad.dev/install.ps1 | iex
```

Use the one-line installer for your OS; it adds uv if missing, registers the cad command and configures every agent app it finds, so rerun it to update. Some skills pull in large extras on first use, such as KiCad tooling for boards, and the render skill cannot run on Intel Macs or ARM Linux because Blender's Python module is not built for them.

## Skills

Skill names are shown as /name. Depending on the agent, a skill runs when it is relevant or when you call it by name; plugin installs may add a prefix.

- `/cad`: Writes parts and assemblies as build123d scripts, exports STEP, STL, 3MF, GLB or DXF, and checks fits, joint travel and manufacturability. (https://trendhub.net/skills/earthtojake-text-to-cad/cad.markdown)
- `/engineering-drawing`: Produces a dimensioned PDF sheet with projected views, hidden edges, centre marks, hole notes and a title block from the part's geometry. (https://github.com/earthtojake/text-to-cad/tree/main/skills/engineering-drawing)
- `/fea`: Runs linear static stress studies with netgen and CalculiX, reporting peak von Mises stress, safety factor and deflection on the part. (https://trendhub.net/skills/earthtojake-text-to-cad/fea.markdown)
- `/pcb`: Edits native KiCad schematics and boards, runs ERC and DRC, routes nets and reviews the board against a fab's limits before export. (https://trendhub.net/skills/earthtojake-text-to-cad/pcb.markdown)
- `/print3d`: Slices STL, 3MF or OBJ files with OrcaSlicer using the printer's real presets and hands Bambu Lab jobs to Bambu Connect or Studio. (https://github.com/earthtojake/text-to-cad/tree/main/skills/print3d)
- `/render`: Renders stills, turntables and motion films of a model in Blender, drafting in EEVEE before a final Cycles pass on the GPU. (https://github.com/earthtojake/text-to-cad/tree/main/skills/render)
- `/robot-simulation`: Generates or hand-writes URDF, SRDF and MJCF robot descriptions for ROS, MoveIt and MuJoCo, with joints, inertials and collision setup. (https://github.com/earthtojake/text-to-cad/tree/main/skills/robot-simulation)
- `/sendcutsend`: Preflights DXF and STEP uploads for SendCutSend orders against its current guide, catalog and specs for material, thickness and services. (https://github.com/earthtojake/text-to-cad/tree/main/skills/sendcutsend)

## Questions

### Which agents does it work with?

The README says any agent that supports plugins or skills; the installer gives Claude Code the skills and Claude Desktop the MCP server for its Chat and Code tabs.

### Does it send data anywhere?

By default it reports usage statistics and crashes under a random ID and, per the README, leaves out your files, paths and prompts; the linked privacy policy explains how to turn this off.

### Do I need KiCad, Blender or a slicer installed?

The cad command installs its own KiCad tooling, solver and Blender module when a skill first needs them; OrcaSlicer for print3d is installed separately.

### Can it place a print or a fabrication order for me?

No. print3d never starts a print and hands the job to Bambu Connect or Bambu Studio, and the PCB review never orders on your behalf.

## Before you install

The skills run the local cad command and Python scripts, write model, export and result files, download integrations such as KiCad tooling, netgen, CalculiX and Blender on first use, and the sendcutsend skill fetches SendCutSend's published guides; board edits may need to run outside the agent's sandbox. By default the tool sends usage stats and crash reports, which the README says exclude your files, paths and prompts.
