engineering-drawing
Skill17k starsChanged 57 days agoMITView on GitHub
Make an engineering drawing of a part as a PDF - orthographic views with hidden lines and centre marks, real dimensions, hole callouts, notes and a title block on ISO sheets, all projected from the part's geometry so the drawing follows the model. Use when the user asks for a drawing, a dimensioned sheet, shop or manufacturing drawings, a print, or "2D views of this part".
Trending
More talk lately.about the whole repository
Who's talking about earthtojake/text-to-cad
- A Hacker News story“Text-to-CAD”Hacker News · May 1, 2026 · 186 points
- @camilleroux.com“Text-to-CAD open source : décrivez une pièce ou un mécanisme en langage naturel, laissez un agent (Codex, …”Bluesky · May 18, 2026 · 14 likes
- @davepentecost.bsky.social“github.com/earthtojake/...”Bluesky · Jul 28, 2026 · 2 likes
- A Hacker News story“Text-to-CAD: Generate 3D models with coding agents (open source)”Hacker News · Apr 29, 2026 · 2 points
- @agentpalisade.bsky.social“text-to-cad is a library of eleven agent skills that turn a coding agent into a CAD engineer, carrying a …”Bluesky · Jul 31, 2026 · 1 likes
The biggest 5 of 61 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 61
Talked about on GitHub, Bluesky and Hacker News (61 times).
On GitHub · 50
- Nov 2, 2026vendor: pull text-to-cad 5efa85a9 — gurul/gencad0 reactions
- Nov 2, 2026agent-skills.github.earthtojake.text-to-cad: 0.8.4 → 0.10.0 — sudosubin/agents.nix0 reactions
- Nov 2, 2026claude-code-marketplaces.github.earthtojake.text-to-cad: 0.8.4 → 0.10.0 — sudosubin/agents.nix0 reactions
- Nov 2, 2026codex-plugins.github.earthtojake.text-to-cad: 0.8.4 → 0.10.0 — sudosubin/agents.nix0 reactions
- Nov 2, 2026agent-plugins.github.earthtojake.text-to-cad: 0.8.4 → 0.10.0 — sudosubin/agents.nix0 reactions
45 more on GitHub
- Nov 2, 2026claude-code-plugins.github.earthtojake.text-to-cad: 0.8.4 → 0.10.0 — sudosubin/agents.nix0 reactions
- Nov 1, 2026Upstream updates to review — MoradDev/skills-unified0 reactions
- Oct 31, 2026PEP 541 Request: cad — pypi/support0 reactions · 1 comment
- Oct 30, 2026agent-plugins.github.earthtojake.text-to-cad: 0.8.3 → 0.8.4 — sudosubin/agents.nix0 reactions
- Oct 30, 2026claude-code-plugins.github.earthtojake.text-to-cad: 0.8.3 → 0.8.4 — sudosubin/agents.nix0 reactions
- Oct 30, 2026agent-skills.github.earthtojake.text-to-cad: 0.8.3 → 0.8.4 — sudosubin/agents.nix0 reactions
- Oct 30, 2026claude-code-marketplaces.github.earthtojake.text-to-cad: 0.8.3 → 0.8.4 — sudosubin/agents.nix0 reactions
- Oct 30, 2026codex-plugins.github.earthtojake.text-to-cad: 0.8.3 → 0.8.4 — sudosubin/agents.nix0 reactions
- Oct 30, 2026Roadmap: Shaderera inside Claude and ChatGPT (not now) — shaderera/shaderera0 reactions
- Oct 30, 2026agent-plugins.github.earthtojake.text-to-cad: 0.8.2 → 0.8.3 — sudosubin/agents.nix0 reactions
- Oct 30, 2026claude-code-plugins.github.earthtojake.text-to-cad: 0.8.2 → 0.8.3 — sudosubin/agents.nix0 reactions
- Oct 30, 2026agent-skills.github.earthtojake.text-to-cad: 0.8.2 → 0.8.3 — sudosubin/agents.nix0 reactions
- Oct 30, 2026claude-code-marketplaces.github.earthtojake.text-to-cad: 0.8.2 → 0.8.3 — sudosubin/agents.nix0 reactions
- Oct 30, 2026codex-plugins.github.earthtojake.text-to-cad: 0.8.2 → 0.8.3 — sudosubin/agents.nix0 reactions
- Oct 28, 2026claude-code-plugins.github.earthtojake.text-to-cad: init at 0.8.2 — sudosubin/agents.nix0 reactions
- Oct 28, 2026claude-code-marketplaces.github.earthtojake.text-to-cad: 0.8.1 → 0.8.2 — sudosubin/agents.nix0 reactions
- Oct 28, 2026agent-skills.github.earthtojake.text-to-cad: 0.8.1 → 0.8.2 — sudosubin/agents.nix0 reactions
- Oct 28, 2026codex-plugins.github.earthtojake.text-to-cad: 0.8.1 → 0.8.2 — sudosubin/agents.nix0 reactions
- Oct 28, 2026agent-plugins.github.earthtojake.text-to-cad: 0.8.1 → 0.8.2 — sudosubin/agents.nix0 reactions
- Oct 28, 2026claude-code-marketplaces.github.earthtojake.text-to-cad: init at 0.8.1 — sudosubin/agents.nix0 reactions
- Oct 27, 2026agent-skills.github.earthtojake.text-to-cad: 0.8.0 → 0.8.1 — sudosubin/agents.nix0 reactions
- Oct 27, 2026codex-plugins.github.earthtojake.text-to-cad: 0.8.0 → 0.8.1 — sudosubin/agents.nix0 reactions
- Oct 27, 2026agent-plugins.github.earthtojake.text-to-cad: 0.8.0 → 0.8.1 — sudosubin/agents.nix0 reactions
- Oct 27, 2026codex-plugins.github.earthtojake.text-to-cad: 0.7.26 → 0.8.0 — sudosubin/agents.nix0 reactions
- Oct 27, 2026agent-plugins.github.earthtojake.text-to-cad: 0.7.26 → 0.8.0 — sudosubin/agents.nix0 reactions
- Oct 27, 2026agent-skills.github.earthtojake.text-to-cad: 0.7.26 → 0.8.0 — sudosubin/agents.nix0 reactions
- Oct 26, 2026vendor: pull text-to-cad 2f793659 — gurul/gencad0 reactions
- Oct 23, 2026Epic: Scan a broken part, get replacement CAD — zeketx/sidekick-mechanic0 reactions
- Oct 23, 2026Epic: Photo part ID with a 3D view and the manual page — zeketx/sidekick-mechanic0 reactions
- Oct 23, 2026Epic: "Make me this part" chat tool (text to CAD: STEP, STL, drawing) — zeketx/sidekick-mechanic0 reactions
- Oct 20, 2026codex-plugins.github.earthtojake.text-to-cad: 0.7.25 → 0.7.26 — sudosubin/agents.nix0 reactions
- Oct 20, 2026agent-plugins.github.earthtojake.text-to-cad: 0.7.25 → 0.7.26 — sudosubin/agents.nix0 reactions
- Oct 20, 2026agent-skills.github.earthtojake.text-to-cad: 0.7.25 → 0.7.26 — sudosubin/agents.nix0 reactions
- Oct 20, 2026agent-plugins.github.earthtojake.text-to-cad: 0.7.24 → 0.7.25 — sudosubin/agents.nix0 reactions
- Oct 20, 2026agent-skills.github.earthtojake.text-to-cad: 0.7.24 → 0.7.25 — sudosubin/agents.nix0 reactions
- Oct 20, 2026codex-plugins.github.earthtojake.text-to-cad: 0.7.24 → 0.7.25 — sudosubin/agents.nix0 reactions
- Oct 19, 2026vendor: pull text-to-cad b316da8f — gurul/gencad0 reactions
- Oct 18, 2026codex-plugins.github.earthtojake.text-to-cad: 0.7.22 → 0.7.24 — sudosubin/agents.nix0 reactions
- Oct 18, 2026agent-plugins.github.earthtojake.text-to-cad: 0.7.22 → 0.7.24 — sudosubin/agents.nix0 reactions
- Oct 18, 2026agent-skills.github.earthtojake.text-to-cad: 0.7.22 → 0.7.24 — sudosubin/agents.nix0 reactions
- Oct 18, 2026agent-plugins.github.earthtojake.text-to-cad: 0.7.21 → 0.7.22 — sudosubin/agents.nix0 reactions
- Oct 18, 2026agent-skills.github.earthtojake.text-to-cad: 0.7.21 → 0.7.22 — sudosubin/agents.nix0 reactions
- Oct 18, 2026codex-plugins.github.earthtojake.text-to-cad: 0.7.21 → 0.7.22 — sudosubin/agents.nix0 reactions
- Oct 13, 2026codex-plugins.github.earthtojake.text-to-cad: 0.7.15 → 0.7.21 — sudosubin/agents.nix0 reactions
- Oct 13, 2026agent-plugins.github.earthtojake.text-to-cad: init at 0.7.21 — sudosubin/agents.nix0 reactions
On Bluesky · 9
- May 18, 2026Text-to-CAD open source : décrivez une pièce ou un mécanisme en langage naturel, laissez un agent (Codex, Claude Code) générer les fichiers… — @camilleroux.com14 likes and reposts · 1 reply
- Jul 28, 2026github.com/earthtojake/... — @davepentecost.bsky.social2 likes and reposts · 2 replies
- Jul 31, 2026text-to-cad is a library of eleven agent skills that turn a coding agent into a CAD engineer, carrying a plain-language request from STEP… — @agentpalisade.bsky.social1 likes and repost
- Jul 30, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 earthtojake / text-to-cad ⭐ 11,679 (+477) 🗒 JavaScript A collection of agent skills for CAD,… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Jul 25, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 earthtojake / text-to-cad ⭐ 10,288 (+555) 🗒 JavaScript A collection of agent skills for CAD,… — @github-trending-js.bsky.social1 likes and repost · 1 reply
4 more on Bluesky
- Jul 22, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 earthtojake / text-to-cad ⭐ 8,784 (+297) 🗒 JavaScript A collection of agent skills for CAD,… — @github-trending.bsky.social1 likes and repost · 1 reply
- Jul 21, 2026今日のGitHubトレンド earthtojake/text-to-cad CAD、ロボティクス、およびハードウェア設計を行うAIエージェント向けのスキルライブラリです。 CADデータの生成、検査、調達、スライス、受け渡しなどの機能をエージェントに提供することを目的としています。 — @dailygithubtrends.bsky.social1 likes and repost
- Aug 8, 2026公式GitHubを確認。これはかなり堅い。CADを会話だけで終わらせず、ソース管理されたファイルとして編集し、STEP/STL/URDF/SRDF/SDFやG-codeまで明示的に出力・閲覧する技能群。… — @nemu-echosphere.bsky.social0 likes and reposts · 1 reply
- May 25, 2026CAD SKILLS: Generate CAD in AI agents like Codex and Claude Code. 100% open source, runs locally, free forever. 开源生成 CAD 文件的代理模型 - 支持导出… — @maoguofang.bsky.socialsays it tested it0 likes and reposts · 2 replies
On Hacker News · 2
- May 1, 2026Text-to-CAD186 points · 48 comments
- Apr 29, 2026Text-to-CAD: Generate 3D models with coding agents (open source)2 points
In this repository12 other files it gives its agents.
- AGENTS.mdAGENTS.md
- bambu-labsSkill
- cadSkill
- dfam-checkSkill
- dfmSkill
- dxfSkill
- gcodeSkill
- sdfSkill
- sendcutsendSkill
- srdfSkill
- step-partsSkill
- urdfSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use the installed local skill files as the runtime source of truth.
- Distinctive: line 27
Run cadgen through uv, so this skill's commands share one installation, and its warm build daemon, with the CAD app's server:
- Very specific: line 41
Write <name>_drawing.py beside the model, from the template.
- Very specific: line 45
Place views with sheet.three_views(part, iso=True), which returns FOUR views: top, front and right in third angle with room for two rows of …
- Very specific: line 63
Run python <name>_drawing.py.
- Very specific: line 78
When running unattended, set MPLCONFIGDIR to a writable directory so matplotlib's font cache does not warn.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Engineering drawing
Provenance: maintained in earthtojake/text-to-cad. Use the installed local skill files as the runtime source of truth.
An engineering drawing is a DOCUMENT derived from a part. cadgen.eng_drawing
projects views from the part's geometry, places dimensions between points ON
that geometry, finds centre marks on it, and lays the result out on an ISO
sheet with a frame and a title block. Change the model, rerun the drawing
script, and the views, hidden lines and measured values move with it. Nothing
on the sheet is drawn by hand, and nothing on it is a number you typed unless
you chose to override a value.
The output is one PDF. That is what a shop receives and what every
operating system opens. No DXF is written, nothing is paired or linked, and
there is no CLI: the script is the interface. $dxf makes cut layouts and flat
patterns, which are toolpaths, not documents; the two are different jobs.
Setup
Run cadgen through uv, so this skill's commands share one installation, and its warm build daemon, with the CAD app's server:
cadgenbelow meansuvx --no-config --managed-python --python 3.13 --from cadgen==0.7.14 cadgenpythonbelow meansuvx --no-config --managed-python --python 3.13 --from cadgen==0.7.14 python
The first run downloads that installation; later runs reuse it.
Workflow
- Get the part.
cadgen.read_step(Path(__file__).parent / "../STEP/part.step")reads the artifact a@stepmodel wrote (runpython <model>.pyfirst); a live build123d shape works just as well. The drawing documents geometry, it does not build it. - Write
<name>_drawing.pybeside the model, from the template. Import the model facts the dimensions reference (hole pitch, overall size, wall) from the model module rather than retyping them, so moving a feature moves its dimension. - Place views with
sheet.three_views(part, iso=True), which returns FOUR views: top, front and right in third angle with room for two rows of dimensions, plus an isometric in the free corner.sheet.three_views(part)returns three. Usesheet.view(part, name, at=(x, y))(sheet millimetres from the bottom-left corner; A3 is 420 × 297, A4 is 297 × 210) only for a custom layout. - Dimension what a maker needs, in MODEL coordinates: overall size per view
(
view.overall()), feature positions and sizes (view.dim, withtol=orfit=where the design requires one), holes as callouts (view.hole: thru, depth, counterbore, countersink, thread), and notes with leaders (view.note). Leavetextunset so the dimension is measured; give a value only where the model does not define it. Leaveoffsetunset too and the dimension takes the next free row outside the view; pass one only to place a dimension deliberately, and remember it is measured from the dimension's own points, not the view's edge. Keep notes few and short; one wider than the sheet's note column is refused, andnotes=takes a LIST (notes="BREAK EDGES"is a sequence of eleven characters, so it is refused too). Run
python <name>_drawing.py. It prints the PDF it wrote, and anything it noticed while drawing — read those first:- "measures blank paper": the dimension's model points do not land on the view's geometry. Almost always the part was built from a corner and the script assumed it was centred. Check the part's bounding box.
- "annotation overlaps": two callouts print on top of each other, usually
one view's outermost dimension against the label of the view above it.
Pass a bigger
three_views(gap=...)or place one withoffset=. The text is measured as the renderer draws it, glyph by glyph, so this fires on ink and not on markup: a chain of toleranced dimensions is silent when the values clear each other.
Steps 3 and 5 stand on their own: a sheet of views with no dimensions on it yet is a drawing, and writes its PDF.
When running unattended, set
MPLCONFIGDIRto a writable directory so matplotlib's font cache does not warn.- Read the PDF and fix what collides. Check that no dimension text sits on
a view, that hidden lines appear where features are behind faces, that every
hole has a centre mark, and that no leader crosses the part. Very small
dimensions (a few mm) put their value on their own extension line; dimension
the larger feature instead. Move
at=oroffset=and rerun.
What the sheet contains
- Layers with meaning:
VISIBLE(heavy outline),HIDDEN(dashed),CENTER(centre marks),DIM,NOTES,TITLE,SHEET(frame), each printed at its own weight — 0.5 mm down to 0.18 mm, so thick reads against thin on paper. An edge is drawn once: a silhouette that the kernel returns as both visible and hidden stays onVISIBLE. Hidden TANGENT transitions are not drawn at all — a fillet running into a face, or the seam where a cylinder closes on itself, marks nothing a shop can see, and drawn dashed it reads as a hidden edge that is not there (on a bore, as a line down the hole's own axis). - Dimensions measured from the geometry, with filled arrowheads and witness lines, and true-size values at any drawing scale.
- A title block with title, part number, material, author, scale, units,
projection, revision,
SHEET n OF mand the drawing function's name; numbered notes above it (the general tolerance, when given, is note 1); a revision table top-right whenrevisions=is given. Text longer than its cell is set smaller, and cut with an ellipsis rather than overrun. - PDF bytes that are a function of the content: no creation date is stamped, so an unchanged drawing rebuilds to an identical file.
What fails loudly
The script raises rather than writing a wrong or missing document:
- Views that run off the frame, naming a scale that has been laid out and verified to fit, or saying that no standard scale does.
- A part argument the vocabulary does not define: an unknown view name, sheet
size or projection,
orientation=other than"h"/"v", a negative or zero diameter, a counterbore that is not a(diameter, depth)pair, atolthat is not a number or a pair, a hole that is boththruand given a depth,notes=orrevisions=given a bare string, a note wider than the sheet,angle()legs that are collinear or zero-length, a non-finiteat=oroffset=. - A missing renderer. The PDF is the drawing, so no matplotlib is a failure, not a skipped half. A failed render leaves no file behind.
out=missing or not naming a.pdf, at import time.
Limits to state in the handoff
- Tolerances come only from
tol=,fit=andgeneral_tolerance=that you write; get the values from the design requirements or the user, never invented. A dimension without one is nominal. - Views are orthographic projections with hidden lines from the kernel; no sections, details, or auxiliary views yet. Say what a view does not show.
- The sheet keeps callouts clear of the views it knows about, and reports annotation that still prints over other annotation, but it does not check annotation against line work. Read the PDF.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

