Illustrated tutorial: three steps to teach Claude Code to model, and build a 3D-printable part in one sentence图文教程:三步让 Claude Code 学会建模,用一句话做出可 3D 打印的零件
A hands-on walkthrough of the text-to-cad plugin that entered the library today: confirm the uv environment, install the plugin with two commands, have the agent output STEP / STL files from a single sentence, then run a manufacturability check and export an engineering drawing. Everything runs locally, and no CAD background is needed.
手把手带你用今天入库的 text-to-cad 插件:先确认 uv 环境、两行命令装好插件,再用一句话让智能体输出 STEP / STL 文件,最后做一次可制造性检查并导出工程图纸。全程在本机完成,不需要任何 CAD 基础。

Step 1: install uv — the only hard prerequisite第一步:装好 uv,这是唯一的硬前置
The CAD runtime for text-to-cad is managed by uv, so first confirm uv is present: run uv --version in your terminal.
If the command is not found, install it once with the official installer (a PowerShell script on Windows, a one-liner on macOS / Linux), reopen the terminal and verify again.
Also make sure your agent is a recent version — the plugin install commands rely on a relatively new Claude Code.
text-to-cad 的 CAD 运行时由 uv 管理,所以先确认 uv 在:终端执行 uv --version。
如果提示找不到命令,就按官方安装器装一次(Windows 用 PowerShell 脚本,macOS / Linux 用官方一行命令),装完重开终端再验证。
顺带确认你的智能体是较新版本——插件安装命令依赖较新的 Claude Code。

Step 2: install the plugin with two commands第二步:两行命令装上插件
In your terminal run: claude plugin marketplace add earthtojake/text-to-cad#latest, then claude plugin install text-to-cad@earthtojake.
Restart Claude Code afterwards. On first start the plugin downloads the CAD runtime over the network, so this step needs a connection; do not rush to ask questions before the download finishes.
If you would rather not type commands, simply send "Install text-to-cad from https://github.com/earthtojake/text-to-cad" to your agent and let it install.
在终端执行:claude plugin marketplace add earthtojake/text-to-cad#latest,然后 claude plugin install text-to-cad@earthtojake。
装完重启 Claude Code。第一次启动时插件会联网下载 CAD 运行时,所以这一步需要网络;下载完成前不要急着提问。
不想敲命令也行:直接把「Install text-to-cad from https://github.com/earthtojake/text-to-cad」发给智能体,它会自己装。
Step 3: build a part in one sentence第三步:一句话建一个零件
Tell the agent: "Make a 60mm by 40mm mounting plate, 5mm thick, with an M3 countersink in each corner, and export STEP and STL."
It models using the local CAD service and returns a rotatable model card in the conversation; in a terminal environment it gives you a link that opens the model in your browser.
Drop the STL straight into your slicer to print, and use the STEP file to keep editing in professional CAD software.
对智能体说:「做一个 60mm×40mm、厚度 5mm 的安装板,四角各开一个 M3 沉孔,导出 STEP 和 STL」。
它会用本地 CAD 服务建模,并在对话里给你一个可旋转查看的模型卡片;终端环境下会给一个在浏览器里打开模型的链接。
拿到 STL 直接丢进切片软件就能打印;STEP 则用来在专业 CAD 软件里继续改。
Step 4: run a manufacturability check and export a drawing第四步:做可制造性检查、出图纸
Next, say "check whether this part can be made with ordinary 3D printing or CNC". The plugin runs a design-for-manufacturing (DFM) check and flags wall thickness, hole placement and draft issues.
When you need to communicate with a supplier, ask it to "produce a dimensioned engineering drawing". For sheet metal or CNC it can also list the matching fabrication services.
接着对它说「检查这个零件能不能用普通 3D 打印或 CNC 做出来」,插件会跑可制造性(DFM)检查,指出壁厚、孔位、拔模等问题。
需要对外沟通时,让它「出一张带尺寸标注的工程图纸」;要做钣金或 CNC,它也能接上对应的加工服务清单。
Use reminder使用提醒
This article is compiled from public sources and ships with the matching resource. Product features and pricing are subject to the official page. Resources are for learning and exchange only — please respect the original license.
本文整理自公开资料并附上配套资源;涉及产品的功能与价格以官方页面为准。资源仅供学习交流,请遵循来源许可。
想马上用起来?去「AI工具」栏挑一个直接下载,或在「AI教程」里跟着图文步骤做一遍。
去 AI工具 → 看 AI教程 →阅读与点赞数据保存在你的浏览器本地,欢迎留下你的想法。
今日正能量学一点,用一点;今天种下的种子,会长成明天的能力。去免费下载专区 →广告
评论 文明发言,让讨论更有价值