@QingQ77: Open-source framework enables Codex, Claude Code and other coding agents to generate CAD models from text descriptions, export to STEP/STL/3MF and more. https://github.com/earthtojake/text-to-cad… text-to-…

X AI KOLs Timeline Tools

Summary

The open-source framework text-to-cad enables Codex, Claude Code and other coding agents to generate CAD models from text descriptions, supporting export to STEP, STL, 3MF, DXF, GLB, URDF and more. It comes with three built-in Skills (CAD, URDF, and Robot Motion) and runs locally without requiring a backend.

Open-source framework enables Codex, Claude Code and other coding agents to generate CAD models from text descriptions and export to STEP, STL, 3MF and more. https://github.com/earthtojake/text-to-cad… text-to-cad is an open-source Text-to-CAD framework powered by build123d/OCP, enabling agents like Codex and Claude Code to write text descriptions that generate CAD models. It comes with three built-in Skills: CAD, URDF, and Robot Motion, supporting export to STEP, STL, 3MF, DXF, GLB, and URDF. The local CAD Explorer (React/Vite) allows real-time viewing of results and geometric references. The workflow is: describe → modify source file → regenerate → view → reference → commit, all running locally without a backend. Includes 10 benchmarks, from cubes to planetary gears.
Original Article
View Cached Full Text

Cached at: 05/08/26, 11:39 PM

Open source framework that enables coding agents like Codex and Claude Code to generate CAD models from text descriptions, exportable to STEP/STL/3MF and other formats. https://github.com/earthtojake/text-to-cad

text-to-cad is an open source Text-to-CAD framework powered by build123d/OCP. Agents like Codex and Claude Code can generate CAD models simply by writing text descriptions. It comes with three built-in Skills: CAD, URDF, and Robot Motion, supporting export to STEP, STL, 3MF, DXF, GLB, and URDF. The local CAD Explorer (React/Vite) provides real-time results viewing and geometry references. Workflow: describe → edit source file → regenerate → inspect → reference → commit, all running locally without a backend. Includes 10 benchmarks, from simple cubes to planetary gears.


earthtojake/text-to-cad

Source: https://github.com/earthtojake/text-to-cad

⚙ Open Source Text to CAD Harness ⚙

An open source harness for generating 3D models with your favorite coding agent

Demo project (https://text-to-cad.earthtojake.com) GitHub stars (https://github.com/earthtojake/text-to-cad/stargazers) GitHub forks (https://github.com/earthtojake/text-to-cad/network/members)

License: MIT

Follow @soft_servo (https://x.com/soft_servo)

Python build123d (https://github.com/gumyr/build123d) OCP STEP STL 3MF URDF Robot Motion Node.js React Vite

✨ Features

  • Generate - Create source-controlled CAD models with coding agents like Codex and Claude Code.
  • Export - Produce STEP, STL, 3MF, DXF, GLB, topology data, and URDF robot descriptions.
  • Browse - Inspect generated geometry in CAD Explorer.
  • Reference - Copy stable @cad[...] references so agents can make precise follow-up edits.
  • Review - Render quick review images for fast checks during an iteration loop.
  • Reproduce - Edit source files first, then regenerate explicit targets.
  • Local - Run the harness and CAD Explorer locally with no backend to host.

🧰 Bundled Skills

This harness vendors file-targeted skills for CAD, robot-description, robot-motion, and manufacturing-preflight work. Use the bundled copies here for local CAD projects, or use the dedicated repositories when installing the skills outside this harness.

  • CAD Skill - STEP, STL, 3MF, DXF, GLB/topology, render images, and @cad[...] geometry references. Bundled skill · Standalone repo (https://github.com/earthtojake/cad-skill)
  • URDF Skill - Generated URDF XML, robot links, joints, limits, validation, and mesh references. Bundled skill · Standalone repo (https://github.com/earthtojake/urdf-skill)
  • Robot Motion Skill - ROS 2/MoveIt setup, CAD Explorer motion artifacts, inverse kinematics, path planning, and motion-server testing for existing URDFs. Bundled skill

Skills live canonically under .agents/skills for Codex. Claude Code compatibility is provided by per-skill symlinks in .claude/skills.

📸 Screenshots

CAD URDF Robot Motion

🔁 Workflow

  1. Describe - Tell your agent about the part, assembly, fixture, robot, or mechanism you want.
  2. Edit - Let your coding agent update repo-local CAD source files.
  3. Regenerate - Create explicit STEP, STL, 3MF, DXF, GLB, or URDF targets.
  4. Inspect - Open CAD Explorer to review the generated model.
  5. Reference - Copy @cad[...] handles when you want geometry-aware edits.
  6. Commit - Save the source and generated artifacts together once the model is ready.

🧪 Benchmarks

The repo stores .assets/** through Git LFS and excludes that tree from default LFS pulls so lightweight clones do not fetch GIF assets or benchmark detail pages. To hydrate only the benchmark assets locally, run:

git lfs pull --include=".assets/benchmarks/**"
#TargetPromptOutput
1Rectangular calibration block with four holesCreate a centered 100 x 60 x 20 mm block with four 8 mm vertical through-holes. Add only a 2 mm chamfer on the top outer perimeter.
2Circular flange with bolt-hole patternCreate an 80 mm diameter, 10 mm thick circular flange with a 30 mm central through-bore. Add six 6 mm through-holes on a 60 mm bolt circle and fillet the outside circular edges.
3L-bracket with gussets and two hole directionsCreate an L-bracket from a base plate and rear vertical plate. Add vertical base holes, horizontal back-plate holes, two triangular gussets, and a filleted base/back transition.
4Stepped shaft with keywayCreate a 120 mm shaft along X with 20/30/20 mm diameter stepped sections. Add end chamfers and a shallow rectangular keyway on top of the middle section.
5Open-top electronics enclosure with bossesCreate a hollow open-top enclosure with 3 mm walls and floor. Add four internal standoffs with centered blind holes and 2 mm outside vertical corner fillets.
6Aerospace-style clevis bracket with lightening cutoutsCreate a symmetric clevis bracket with a base plate, two rounded lugs, base mounting holes, and a horizontal lug bore. Add triangular lightening cutouts, reinforcing ribs, and rounded transitions.
7Radial-engine-style cylinder with cooling finsCreate a vertical engine-cylinder form with a central barrel, 12 cooling fins, a base flange, and a top cap. Add a 35 degree angled spark-plug boss with a coaxial through-hole.
8Centrifugal impeller with backward-curved bladesCreate a centrifugal impeller with a backplate, hub, and through-bore. Add 12 fused backward-curved blades sweeping about 45 degrees from root to tip.
9Spiral staircase with helical handrailCreate a miniature spiral staircase with a central column, base disk, and 20 rising wedge treads. Add a one-revolution helical handrail and vertical balusters at the tread outer ends.
10Simplified planetary gear stageCreate a flat planetary gear assembly with separate sun, planet, ring, carrier, and pin bodies. Use simplified trapezoidal teeth and place three planets around the sun on a 42 mm radius circle.

🚀 Quick Start

Clone the repo:

git clone https://github.com/earthtojake/text-to-cad.git
cd text-to-cad

Install Python CAD dependencies:

python3.11 -m venv .venv
./.venv/bin/python -m pip install --upgrade pip
./.venv/bin/pip install -r .agents/skills/cad/requirements.txt

Install other bundled skill requirements only when you need those workflows:

./.venv/bin/pip install -r .agents/skills/urdf/requirements.txt

Install CAD Explorer dependencies:

npm --prefix .agents/skills/cad/explorer install

Run the local CAD Explorer from the project directory you want to scan:

npm --prefix .agents/skills/cad/explorer run dev

Then open http://localhost:4178.

For root-aware agent workflows across multiple projects, ask CAD Explorer to reuse a matching server or start one on a free port:

npm --prefix .agents/skills/cad/explorer run dev:ensure -- --file STEP/sample_part.step

Then open the URL printed by the command.

Similar Articles

@aigclink: Text-CAD: Not just "draw a part" — one sentence → STEP → slice → straight to your local Bambu printer, full pipeline. What used to be manual modeling in SolidWorks, then checking each dimension with calipers — those two actions are now owned by this project. One setup…

X AI KOLs Timeline

The Text-CAD project achieves AI-driven automation from natural language description to STEP 3D model, slicing, and directly connecting to a Bambu printer for the entire workflow. By having the LLM generate build123d Python source code instead of directly manipulating the geometry kernel, it effectively reduces the difficulty of generating complex formats and integrates multiple hardware manufacturing-related skills.

@oragnes: Wow, just dug up this amazing tool map3d on GitHub! Based on OpenStreetMap, you select an area on the web page, and it automatically fetches real building and road data, rendering a 3D city model with heights in one click! The craziest part is it can directly export GLB files for use in Blender or game engines…

X AI KOLs Timeline

Introduces two open-source tools on GitHub: map3d, which automatically generates 3D city models from OpenStreetMap and exports GLB files; and Voice-Pro, a local tool integrating video download, voice separation, subtitle recognition, translation, voice cloning dubbing, and video synthesis.

@QingQ77: A high-performance API proxy bridging the OpenCode Zen protocol to Anthropic/OpenAI-compatible format, enabling tools like Claude Code and Codex CLI to transparently use domestic models. https://github.com/Kiowx/ope…

X AI KOLs Timeline

opencode-cc is a high-performance Go API proxy that bridges the Anthropic/OpenAI-compatible protocol to the OpenCode Zen protocol, enabling tools such as Claude Code and Codex CLI to transparently use domestic large models including GLM, Kimi, DeepSeek, and Qwen. It supports automatic protocol routing, tool calling, web control panel, and other features.