cad
하는 일
이 스킬은 text-to-cad로 파라메트릭 3D CAD 모델을 만들고 편집하도록 AI를 안내합니다. 부품을 말로 설명하고 3D 모델을 얻고 싶은 디자이너와 엔지니어를 위한 스킬입니다.
사용하는 경우
- ✓설명으로부터 새 3D 부품이나 조립품을 만들고 싶을 때.
- ✓기존 CAD 모델 스크립트를 편집하고 결과가 업데이트되는 것을 보고 싶을 때.
- ✓모델을 STEP, STL, 3MF, GLB 파일로 내보내고 싶을 때.
스킬 링크
https://github.com/earthtojake/text-to-cad/blob/main/skills/cad/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“구멍 두 개가 있는 브라켓을 모델링하고 STEP 파일로 내보내 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
AI는 Python build123d 모델을 작성하거나 편집합니다. text-to-cad 서버가 모델을 다시 만들고 뷰어가 업데이트됩니다. 파일은 요청할 때만 내보냅니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
CAD modeling and inspection
A model is a Python function; running its script rebuilds it in text-to-cad's warm server, and the page the person has open updates. Files are exports, made when asked.
Start with the task
| Task | Start with | Reference |
|---|---|---|
| Create or edit a part or assembly | The project's model script, or a new one (below). | Models, build123d, positioning |
| Organize a CAD project | The project's existing layout. | Project layout |
| Export STEP, STL, 3MF, GLB or xbf | cad export <id> <file>. |
Exports |
| Use a vendor STEP, an xbf or a scan in a model | read_step, read_xbf or read_mesh in the body. |
Inputs |
| Resolve a reference from a prompt | cad inspect <id> '<ref>'. |
References |
| Measure or check geometry | A check script that calls the model. | Inspection |
| See a model, a view or a pose | cad snapshot <id> out.png. |
Snapshots |
| Articulate a mechanism | build123d joints in the body, then cad.ap242. |
Kinematics |
| Explode, reveal or showcase a model | cad.gltf's animation() in the body. |
Animation |
| Open an existing XBF, STEP/STP, STL, 3MF or GLB | Show it to the user. | Show the model |
Setup and paths
Run the cad command (~/.local/bin/cad where ~/.local/bin is not on your PATH, or where a
project's environment puts its own cad first; cad.cmd on Windows). If cad is not found and
the CAD app was only just added, its server may still be starting: wait five seconds and run the
command again, for up to a minute, before anything else. Otherwise install text-to-cad, outside a sandbox or with its permission:
curl -fsSL https://texttocad.dev/install.sh | sh
On Windows, in PowerShell: irm https://www.texttocad.dev/install.ps1 | iex. Any other failure
says what to do, and cad doctor explains the installation.
One server runs for the installation: the first run starts it, every run and every
command goes through it, and it serves the viewer. cad status lists its workers
and the documents it holds; cad stop stops it.
A build cut off by the shell's time limit keeps running in the server; run the same
command again and it waits for that build and replays it (cad status shows it).
Give a cold build of a large model the shell tool's longest timeout, or run it in the
background.
Build every model with cad run. It needs nothing set up: it runs a script in the server's own
environment, which holds the library and build123d. A model that needs another package names it
at the top of its script, and cad run installs it beside the kernel once, in an environment it
keeps for the runs after:
# /// script
# dependencies = ["pandas>=2"]
# ///
For a one-off, cad run --with pandas src/plate.py (repeat --with, or separate requirements
with commas; a local folder or wheel works too, its path relative to the working directory, or in
the block to the script's folder, and the next run installs it again after an edit). What cannot be
installed beside the kernel is refused in one
line with uv's reason: change the requirement it names, or, where the network is needed once, run
it outside a sandbox or with its permission. In Windows PowerShell, put a version constraint (>=,
<) in the block, not on the command line: PowerShell hands it to cad.cmd unquoted, and cmd reads
> as a redirection.
Command-line paths, and the paths read_step, read_xbf, read_mesh and export
take, are relative to the working directory, as are a model's own file reads. Anchor
them on __file__ in code that must run from any folder.
Write a model and run it
A part or an assembly is a function with no parameters, decorated @model (or with its
file decorators, never both), that returns a build123d shape. Its dimensions are the
arguments of a plain helper function, and each configuration is a @model of its own, with
its own id and page; constants several models share live in a module they import. A call
builds it and returns its document: a handle with .id,
자주 묻는 질문
build123d란 무엇인가요?
3D 형상을 만드는 Python 라이브러리입니다. 이 스킬은 이를 사용해 코드로 부품을 설명합니다.
코드를 직접 써야 하나요?
아니요. AI가 설명을 바탕으로 스크립트를 작성하며, 사용자는 이를 검토할 수 있습니다.
부품을 측정할 수 있나요?
네. 이 스킬은 모델에서 형상을 측정하는 검사를 포함합니다.
상세 정보
작성자의 원본 설명
Creates and edits parametric CAD parts and assemblies as Python build123d models that text-to-cad's server builds and the CAD Viewer shows live; exports STEP, STL, 3MF, GLB and xbf files on request; resolves prompt references, measures geometry, and articulates or animates assemblies. Use for 3D CAD modeling, editing a model script (any change to a part's or assembly's `.py`), organizing a CAD project, exporting or converting CAD files, Quick Edit prompts, mechanisms, and explode or showcase animations. Opens and reviews existing XBF, STEP/STP, STL, 3MF and GLB files in the CAD Viewer. Covers
repo: earthtojake/text-to-cad
인기도
- GitHub 스타
- 25k
- 순위
- #10067
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
bambu-labs
25k에이전트가 Bambu Connect나 Bambu Studio를 통해 슬라이스된 또는 슬라이스되지 않은 3D 모델을 Bambu Lab 프린터로 보내도록 돕습니다.
dfam-check
25k에이전트가 3D 메시 파일을 잘 출력할 수 있는지 확인하고, 오버행, 벽 두께, 지지대 필요성을 보고하도록 돕습니다.
dfm
25k에이전트가 부품을 판금, CNC 가공, 사출 성형으로 만들 수 있는지 검토하고, 무엇을 바꿔야 하는지 확인하도록 돕습니다.
dxf
25k에이전트가 설명이나 CAD 부품으로부터 레이저, 플라즈마, 워터젯 절단용 2D DXF 도면을 만들고 확인하도록 돕습니다.