← all repositories
earthtojake/text-to-cad

Agent skills that turn text prompts into CAD models and robot files

It gives AI agents a structured toolkit to generate CAD geometry, describe robots, and hand off files for fabrication and simulation.

9.6k stars JavaScript AgentsDomain Apps
text-to-cad
Velocity · 7d
+210
★ / day
Trend
accelerating
star history

What it does

CAD Skills is a collection of agent plugins—primarily for Codex and Claude Code—that handle mechanical design workflows from natural language or image prompts. The library generates and edits CAD models via build123d and OpenCascade, exporting to STEP, STL, 3MF, and GLB. It also writes URDF and SRDF robot descriptions, creates SDF simulation worlds, sources off-the-shelf STEP parts, slices meshes into G-code, and can start local Bambu Lab print jobs. A bundled viewer previews geometry and robot files locally in a browser.

The interesting bit

The library treats the agent as a full-stack mechanical designer rather than a mere model generator, handing off from initial geometry to fabrication checks, slicer profiles, and printer control. It wraps heavyweight Python CAD kernels into agent-installable skills, turning a chat interface into a pipeline that outputs validated G-code and robot simulation files. The included benchmarks—ranging from calibration blocks to radial engine cylinders—suggest the authors care about geometric accuracy, not just rough shapes.

Key highlights

  • Generates CAD models from text or image prompts, with STEP as the primary output plus STL, 3MF, and GLB exports.
  • Writes full robot descriptions including URDF structures, SRDF MoveIt2 planning groups, and SDF simulation worlds.
  • Sources off-the-shelf mechanical parts via step.parts and validates DXF/STEP files for services like SendCutSend.
  • Slices meshes into printer-profiled FDM G-code using real slicer CLIs and can dry-run or start local Bambu Lab print jobs.
  • Includes a local browser-based viewer for CAD, G-code, and robot file previews.

Caveats

  • Plugin support is currently explicit for Codex and Claude Code; other agents are not mentioned.
  • The CAD backend requires Python 3.11+ with build123d and OpenCascade, so it is not a lightweight JavaScript-only dependency.
  • The README notes you may need to restart your agent after installing skills before they appear.

Verdict

Worth a look if you are already using Codex or Claude Code to write software and want to extend that workflow into mechanical parts, robot kinematics, or 3D printing. If you prefer point-and-click CAD or need a standalone web service, this is not your tool.

Frequently asked

What is earthtojake/text-to-cad?
It gives AI agents a structured toolkit to generate CAD geometry, describe robots, and hand off files for fabrication and simulation.
Is text-to-cad open source?
Yes — earthtojake/text-to-cad is open source, released under the MIT license.
What language is text-to-cad written in?
earthtojake/text-to-cad is primarily written in JavaScript.
How popular is text-to-cad?
earthtojake/text-to-cad has 9.6k stars on GitHub and is currently accelerating.
Where can I find text-to-cad?
earthtojake/text-to-cad is on GitHub at https://github.com/earthtojake/text-to-cad.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.