← 开源
earthtojake

text-to-cad

Design physical products with AI

AI EngineeringGive agent toolsBuild agent workflow (SDK)Python
在 GitHub 打开
增长势头
+11324 小时新增 Star+0.4%
26.8k
Star
2.55k
Fork
+698
本周
25
贡献者
创建于 2026-04-22 · 更新于 2026-11-19 · 今日第 195 名
主要开发者
README

Design physical products with AI.

Website · Docs

text-to-cad

🚀 Quickstart

macOS and Linux:

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

Windows, in PowerShell:

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

It installs uv if it is missing, then cad, the command text-to-cad runs on, then the plugin in each agent app it finds on your computer, with that app's own command (Kimi Code you install by hand), and turns on automatic updates.

Then ask your agent for a part or an assembly: it writes the model as a Python script, runs it to build the model and shows it in the viewer.

It works in Claude Code, Codex, Cursor, Gemini CLI, Grok Build, Antigravity, Devin CLI, Factory Droid, GitHub Copilot CLI, Kimi Code, Muse, Pi, Qwen Code, Amp, Cline, Goose, Hermes Agent, Kilo Code, Kiro CLI, OpenClaw, OpenCode, Roo Code, Trae and Windsurf.

Installing by hand, app by app, updating and removing: docs/install.md

✨ 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.

  • Parts and assemblies: Models written as Python scripts with build123d and OpenCASCADE, exported as STEP, STL, 3MF or GLB, and as DXF profiles and flat patterns for laser and waterjet cutting, with joints and animations for mechanisms, and shown live in the viewer.
  • Circuit boards: KiCad schematics and boards, placed and routed, checked with ERC and DRC, reviewed before you order, and exported as fabrication files.
  • 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.
  • Stress checks: 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.
  • Engineering drawings: Dimensioned PDF sheets projected from the part's geometry: views, hidden lines, centre marks, hole callouts and a title block.
  • Renders: 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.
  • Fabrication services: Checks DXF and STEP files against SendCutSend's guide before you upload them, and slices 3D prints with OrcaSlicer and sends them to Bambu Connect or Bambu Studio.
  • Robotics and simulation: Robot and world descriptions for simulation and motion planning: URDF for ROS, SRDF for MoveIt and MJCF for MuJoCo.

🌐 Community

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

  • Studio: 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 · GitHub

🛠️ Contributing

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

  • Bugs and plugin requests: open an issue. A 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.
  • Questions, ideas and what you made: the Discord. Say what the skills got wrong, too: that is what improves them.
  • Code, skills and models: a new skill (a fabrication service, a printer, a CAD workflow) goes in skills/, an example model in models/, and fixes anywhere. CONTRIBUTING.md has the local setup, how to test in the agent apps, and the guidance for agents working in the repository.

By default, text-to-cad sends usage stats and crash reports, tagged with a random ID and never including your files, paths or prompts. The privacy policy says what is sent and how to turn it off, and the terms of service govern using text-to-cad.

排名相邻
同类项目

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载