cad
यह क्या करती है
यह स्किल आपके AI को text-to-cad से पैरामीट्रिक 3D CAD मॉडल बनाने और बदलने में मार्गदर्शन देती है। यह उन डिज़ाइनरों और इंजीनियरों के लिए है जो शब्दों में पुर्ज़ों का वर्णन करते हैं और 3D मॉडल चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप किसी वर्णन से नया 3D पुर्ज़ा या असेंबली बनाना चाहते हैं।
- ✓जब आपको मौजूदा CAD मॉडल स्क्रिप्ट बदलनी है और परिणाम अपडेट होता देखना है।
- ✓जब आप मॉडल को STEP, STL, 3MF या GLB फ़ाइल के रूप में निर्यात करना चाहते हैं।
Skill का लिंक
https://github.com/earthtojake/text-to-cad/blob/main/skills/cad/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप दो माउंटिंग होल वाला एक ब्रैकेट मॉडल कर सकते हैं और उसे STEP फ़ाइल के रूप में निर्यात कर सकते हैं?”
हर हफ़्ते 5 नई skills, 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
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
bambu-labs
25kयह आपके एजेंट को Bambu Connect या Bambu Studio के ज़रिए slice किया या बिना slice का 3D मॉडल Bambu Lab प्रिंटर पर भेजने में मदद करती है।
dfam-check
25kयह आपके एजेंट को जाँचने में मदद करती है कि 3D mesh फ़ाइल ठीक से प्रिंट हो सकती है या नहीं, और overhangs, दीवार की मोटाई व सपोर्ट की ज़रूरत बताती है।
dfm
25kयह आपके एजेंट को शीट मेटल, CNC मशीनिंग या इंजेक्शन मोल्डिंग के लिए पुर्ज़े की समीक्षा करने में मदद करती है, यह जाँचने के लिए कि वह बन सकता है या नहीं और क्या बदलना है।
dxf
25kयह आपके एजेंट को किसी विवरण या CAD पुर्ज़े से लेज़र, प्लाज़्मा या वॉटरजेट कटिंग के लिए 2D DXF ड्रॉइंग बनाने और जाँचने में मदद करती है।
मिलती-जुलती skills
blucli
394kयह आपके एजेंट को blu कमांड से Bluesound और NAD स्पीकर खोजने, चलाने, रोकने, समूह बनाने और वॉल्यूम बदलने में मदद करती है।
camsnap
394kयह आपके एजेंट को नेटवर्क कैमरों और लोकल webcam से स्नैपशॉट, छोटी क्लिप या मोशन इवेंट लेने में मदद करती है, जो आपने सेट किए हों।
eightctl
394kयह आपके एजेंट को Eight Sleep pod की जांच और नियंत्रण करने में मदद करती है, जिसमें तापमान, अलार्म और नींद की समय-सारणी शामिल हैं।