ET

earthtojake/text-to-cad

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

2.4万 stars 质量 93 趋势 98MIT

CAD、CAE和CAM的代理技能库

概览

██████╗ █████╗ ██████╗ ███████╗██╗ ██╗██╗██╗ ██╗ ███████╗ ██╔════╝██╔══██╗██╔══██╗ ██╔════╝██║ ██╔╝██║██║ ██║ ██╔════╝ ██║ ███████║██║ ██║ ███████╗█████╔╝ ██║██║ ██║ ███████╗ ██║ ██╔══██║██║ ██║ ╚════██║██╔═██╗ ██║██║ ██║ ╚════██║ ╚██████╗██║ ██║██████╔╝ ███████║██║ ██╗██║███████╗███████╗███████║ ╚═════╝╚═╝ ╚═╝╚═════╝ ╚══════╝╚═╝ ╚═╝╚═╝╚══════╝╚══════╝╚══════╝ 一个面向CAD、机器人和硬件设计代理的技能库 CAD 技能是一个代理技能库,用于生成、检查、采购、切片和交付本地项目文件中的 CAD 和机器人描述工件。 安装该库,为代理提供针对CAD、制造、机器人描述文件、仿真和本地审查的专注工作流程。 生产环境使用时,安装或从主分支克隆;该分支包含提供者安装所需的技能/插件输出。 这是首选安装路径。它直接为支持的代理安装各个技能。

概述(AI 翻译)

给你的经纪人CAD超能力。

文档

短信转CAD

文本转CAD插件为你的代理提供了生成3D模型的本地工作流程 作为STEP、GLB、STL或3MF文件。它还负责制造检查的设计, 生成工程图纸,并连接流行的3D打印和钣金 以及数控制造服务。

所有支持插件或 技能框架,包括Claude代码、Codex、Cursor, 双子座和格罗克。

💻 安装

咨询你的经纪人(推荐)

把这条消息发给你的代理,它会帮你安装文本转计算机。

默认情况下,文本转CAD会发送使用统计和崩溃报告,并以随机标记 识别且永远不包含你的文件、路径或提示;关闭它们: uvx cadgen telemetry off,或者让你的经纪人帮忙。遥测显示 剩下的。

或者自己安装:

  1. CAD通过UV扫描:检查是否已安装 ([uv --version),如果缺少,则安装为 UV的安装工。
  2. 在你的代理应用标题下执行命令,或在下面 如果没有,就用其他特工。
  3. 重启应用。第一次启动会下载CAD的运行时,所以需要一个网络 连接。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

text-to-cad

The text-to-cad plugin gives your agent local workflows for generating 3D models as STEP, GLB, STL or 3MF files. It also does design for manufacturing checks, generates engineering drawings, and connects to popular 3D printing, sheet metal and CNC fabrication services.

It is supported by all popular agents that support plugins or the skills framework, including Claude Code, Codex, Cursor, Gemini and Grok.

How it works

  1. Your agent writes each model as a Python script with build123d, built on Open CASCADE.
  2. Running the script, python model.py, builds the model with cadgen’s engine into an .xbf document (its parts, names, colours, materials and joints) and the STEP, GLB, STL or 3MF files the script declares. The engine keeps each model’s work in memory, so an edit rebuilds only what it changed.
  3. The CAD viewer shows the model in your agent app or your browser, and follows every rebuild.

💻 Install

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

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

By default, text-to-cad sends usage stats and crash reports, tagged with a random ID and never including your files, paths or prompts; turn them off with uvx --no-config --managed-python --python 3.13 --from cadgen==0.8.3 cadgen telemetry off, or ask your agent to. Telemetry says the rest.

The runtime supports Python 3.11+; the launch commands use uv-managed Python 3.13.

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add earthtojake/text-to-cad
新手?先看 mcpskill.org 教程 →