earthtojake/text-to-cad

Plugin and skills that let AI agents generate STEP, GLB, STL and 3MF models locally, run DFM checks, and make engineering drawings.

  • 27.4k GitHub stars
  • Python
  • ⚖️ MIT
  • 🎯 Intermediate

Last verified: repo last pushed

npx skills add earthtojake/text-to-cad#latest
earthtojake/text-to-cad preview image

What it is

text-to-cad is a plugin and a set of skills that give an agent local workflows for generating 3D models as STEP, GLB, STL or 3MF files. It also runs design-for-manufacturing checks, generates engineering drawings, and connects to 3D printing, sheet metal and CNC fabrication services. It works with agents that support plugins or the skills.sh framework, including Claude Code, Codex, Cursor, Gemini and Grok. Models can be viewed in a CAD Viewer, either in the app or in the browser.

Who it's for

  • Developers who want an AI agent to create and edit CAD models from plain-language or image requests
  • Makers preparing parts for 3D printing, sheet metal, CNC or injection molding
  • Robotics users who need URDF, SRDF or SDF files for robot descriptions and simulation

Requirements

Requirements

  • uv installed (check with uv --version); CAD runs through uv
  • A network connection on first start, because the app downloads CAD's runtime
  • An agent app that supports plugins or skills (Claude Code, Claude Desktop, Codex, Cursor, Grok Build, Gemini, or others via the Skills CLI)
  • Python 3.11+ and Node.js 20+ (shown in the README badges)
  • On Windows 11, Smart App Control must be off, or the CAD skills must run under WSL

Setup

  1. Ask your agent (recommended)

    Send this message to your agent and it will install text-to-cad for you.

    text
    Install text-to-cad from https://github.com/earthtojake/text-to-cad
  2. Claude Code

    Add the marketplace and install the plugin. The plugin also starts CAD's server.

    bash
    claude plugin marketplace add earthtojake/text-to-cad#latest
    claude plugin install text-to-cad@earthtojake
  3. Claude Desktop

    Add the server to Claude Desktop's config (Settings > Developer > Edit Config), then restart the app. If Claude Desktop cannot find uvx, give its full path (which uvx). The config pins a cadgen release in args; to update, change that version and restart.

    json
    {
      "mcpServers": {
        "cad": {
          "command": "uvx",
          "args": ["--no-config", "--managed-python", "--python", "3.13", "--from", "cadgen==0.7.19", "cadgen", "mcp"],
          "env": {"CADGEN_INSTALL_CHANNEL": "claude-desktop"}
        }
      }
    }
  4. Codex (manual install)

    Alternatively, install from Codex's plugin directory and choose Open in desktop app. Manual install commands:

    bash
    codex plugin marketplace add earthtojake/text-to-cad --ref latest
    codex plugin add text-to-cad@earthtojake
  5. Gemini

    Installs the plugin as an extension with the skills and CAD's server, and keeps it up to date.

    bash
    gemini extensions install https://github.com/earthtojake/text-to-cad --ref latest --consent --auto-update
  6. Other agents (skills only)

    For agents without plugin support, install the skills with the Skills CLI. Install either the plugin or the skills in an app, not both. Run the same command again to update or reinstall.

    bash
    npx skills add earthtojake/text-to-cad#latest

Examples

Have the agent install it

Prompt
prompt
Install text-to-cad from https://github.com/earthtojake/text-to-cad

Expected output: The recommended install path: send this message to your agent and it installs text-to-cad itself.

Non-interactive skills install

bash
bash
npx skills add earthtojake/text-to-cad#latest -g -a <agent> -y

What it does: Skips the Skills CLI questions by naming the agent and installing for your user.

Turn off telemetry

bash
bash
uvx cadgen telemetry off

What it does: Usage stats and crash reports are sent by default. This command turns them off and also deletes what was sent.

Update the Claude Code plugin

bash
bash
claude plugin marketplace update earthtojake
claude plugin update text-to-cad@earthtojake

What it does: Updates the plugin. Restart Claude Code afterwards. The new cadgen release downloads the first time it runs.

Pros & cons

Pros

  • Pro:Supports many agent apps, via plugins for Claude Code, Codex, Cursor, Grok Build and Gemini, or via the skills framework
  • Pro:Covers a broad workflow: CAD, engineering drawings, DXF, URDF/SRDF/SDF, DFM and DfAM checks, SendCutSend checks, G-code slicing and Bambu Lab printing
  • Pro:Works locally and offline once installed; CAD output includes STEP, STL, 3MF and GLB
  • Pro:MIT licensed, with documented update and reinstall steps for each app

Cons

  • Con:Telemetry (usage stats and crash reports tagged with a random ID) is on by default and must be disabled manually
  • Con:On Windows 11, Smart App Control blocks the unsigned OCP native module, so it must be turned off or WSL used
  • Con:Requires uv and a network connection on first start to download the CAD runtime

Images