Update to text-to-cad
Snapshot Nov 27, 2026 · 19:13 UTC · version 0.11.18
Collection source: downloaded plugin package.
Instructions updated for engineering-drawing
Skill instructions — Now says: Written for `cad==0.11.18`. Before first use in a chat, run `cad --version`. If `cad` is missing or older than
Observed in instructions or declared skills. Runtime behavior has not been tested.
Up to 3 plugins free · no card required.
All fields and original values.
Skill instructions
Nov 24, 2026 · 00:47 UTC
Written for `cad==0.11.17`. Before first use in a chat, run `cad --version`. If `cad` is missing or older than
Nov 27, 2026 · 19:13 UTC
Written for `cad==0.11.18`. Before first use in a chat, run `cad --version`. If `cad` is missing or older than
Compare saved observations
Download comparison JSONSKILL.md text changes
− removed · + added
--- before +++ after @@ -26,7 +26,7 @@ ## Setup -Written for `cad==0.11.17`. Before first use in a chat, run `cad --version`. If `cad` is missing or older than +Written for `cad==0.11.18`. Before first use in a chat, run `cad --version`. If `cad` is missing or older than 0.11.12, run `uv tool install cad`, adding `--force` if uv says `cad` already exists. If cad is a major or minor version newer than this skill, tell the person to update the text-to-cad plugin:
Full technical diff · 1 changed fields
changed /skill_md_contents
"---\nname: engineering-drawing\ndescription: Makes an engineering drawing of a part as a PDF, projected from its 3D geometry so the drawing follows the model, with dimensioned orthographic views, hole callouts, notes and a title block. Use when the person asks for a drawing, a dimensioned sheet, shop or manufacturing drawings, a blueprint, or \"2D views of this part\". Not for DXF cut layouts or flat patterns, which the cad skill makes.\nlicense: MIT\nmetadata:\n repository: earthtojake/text-to-cad\n---\n\n# Engineering drawing\n\nAn engineering drawing is a document derived from a part. `cad.eng_drawing` projects views from the\npart's geometry, places dimensions between points on that geometry, finds centre marks, and lays the\nresult out on an ISO sheet with a frame and a title block. Change the model and rerun the drawing\nscript, and the views, hidden lines and measured values follow.\n\nThe output is one PDF, written by a Python script: there is no command and no DXF. A cut layout or a\nflat pattern is a toolpath, not a document: that is the cad skill's.\n\n## Start with the task\n\n| Task | Start with | Reference |\n| --- | --- | --- |\n| Draw a part | `<name>_drawing.py` beside the model, from the script under [Workflow](#workflow) | [The calls](references/sheet-api.md) |\n| Place views, dimensions, hole callouts, notes | `Sheet` and `View` | [Sheet API](references/sheet-api.md) |\n| Check the drawing | What the run prints, then the PDF itself | [Check each change](#check-each-change) |\n\n## Setup\n\nWritten for `cad==0.11.17`. Before first use in a chat, run `cad --version`. If `cad` is missing or older than\n0.11.12, run `uv tool install cad`, adding `--force` if uv says `cad` already exists.\n\nIf cad is a major or minor version newer than this skill, tell the person to update the text-to-cad plugin:\nhttps://github.com/earthtojake/text-to-cad\nA project written for an earlier version may need changes; the migration guides say what:\nhttps://github.com/earthtojake/text-to-cad/tree/main/docs/migrations\n\n## Workflow\n\n```python\nfrom cad.eng_drawing import Sheet, eng_drawing\nfrom enclosure import HOLES, L, H, W, enclosure # the part and its facts come from the model\n\n\n@eng_drawing(out=\"../PDF/enclosure_drawing.pdf\")\ndef enclosure_drawing():\n part = enclosure().shape\n sheet = Sheet(\"A3\", title=\"ENCLOSURE\", part_number=\"ENC-001\", material=\"ABS\",\n revision=\"A\", general_tolerance=\"ISO 2768-m\", notes=[\"BREAK SHARP EDGES.\"])\n top, front, right, iso = sheet.three_views(part, iso=True)\n top.overall()\n top.dim((HOLES[0][0], W / 2, 0), (HOLES[2][0], W / 2, 0))\n top.hole((HOLES[3][0], HOLES[3][1], H / 2), 3, depth=8, count=len(HOLES))\n front.dim((L / 2, -W / 2, 0), (L / 2, -W / 2, H))\n return sheet\n\n\nif __name__ == \"__main__\":\n enclosure_drawing()\n```\n\n```bash\ncad run enclosure_drawing.py\n```\n\n1. **Get the part.** Call the model and take its `.shape`; for a part with no model, read its file\n (`step.read`, `xbf.read`, the path anchored on `Path(__file__).parent`). Any build123d shape works.\n2. **Import the model's facts** (hole pitch, overall size, wall) instead of retyping them, so moving a\n feature moves its dimension.\n3. **Place views.** `sheet.three_views(part, iso=True)` returns four views: top, front and right in\n third angle with room for two rows of dimensions, and an isometric in the free corner (three\n without `iso`). `sheet.view(part, name, at=(x, y))` is for a custom layout, in sheet millimetres\n from the bottom-left corner.\n4. **Dimension what a maker needs**, in model coordinates: overall size (`view.overall()`), feature\n positions and sizes (`view.dim`, with `tol=` or `fit=` where the design requires one), holes as\n callouts (`view.hole`: thru, depth, counterbore, countersink, thread) and notes with leaders\n (`view.note`). Leave `text` unset so the value is measured, and `offset` unset so the dimension\n takes the next free row outside the view.\n5. **Run it and read the PDF.**\n\n## Check each change\n\nThe run prints the PDF it wrote and anything it noticed while drawing. Read those first:\n\n- **\"measures blank paper\"**: a dimension's model points do not land on the view's geometry. Usually\n the part was built from a corner and the script assumed it was centred: check its bounding box.\n- **\"annotation overlaps\"**: two callouts print over each other, usually one view's outermost\n dimension against the label of the view above. Pass a larger `three_views(gap=...)` or place one\n with `offset=`.\n\nThen open the PDF. The sheet keeps callouts clear of the views and reports annotation over\nannotation, but it does not check annotation against line work: confirm no dimension text sits on a\nview, hidden lines appear where features are behind faces, every hole has a centre mark, and no\nleader crosses the part. A dimension of a few millimetres puts its value on its own extension line:\ndimension the larger feature instead.\n\nThe script raises instead of writing a wrong or partial document: views that run off the frame (the\nerror names a scale that fits, or says that none does), an argument outside the vocabulary (an\nunknown view, sheet size or projection; a hole both `thru` and given a depth; `notes=` given a bare\nstring instead of a list; a note wider than the sheet's note column), or a missing renderer. A failed\nrun leaves any earlier PDF untouched.\n\n## What the drawing holds, and what it does not\n\n- Visible edges heavy, hidden edges dashed, centre marks, dimensions with witness lines and\n arrowheads at true size at any drawing scale, and a title block (title, part number, material,\n scale, projection, revision, `SHEET n OF m`) with numbered notes above it. Text longer than its\n title-block cell is set smaller, then cut with an ellipsis, and nothing says so: read the title\n block in the PDF. Hidden tangent edges (a fillet running into a face) are not drawn.\n- The PDF's bytes are a function of its content, with no creation date: an unchanged drawing rebuilds\n to an identical file.\n- **Tolerances are only the ones written** (`tol=`, `fit=`, `general_tolerance=`), from the design's\n requirements or the person, never invented. A dimension without one is nominal.\n- **Views are orthographic projections**: no sections, details or auxiliary views. Say in the hand-off\n what a view does not show.\n"
"---\nname: engineering-drawing\ndescription: Makes an engineering drawing of a part as a PDF, projected from its 3D geometry so the drawing follows the model, with dimensioned orthographic views, hole callouts, notes and a title block. Use when the person asks for a drawing, a dimensioned sheet, shop or manufacturing drawings, a blueprint, or \"2D views of this part\". Not for DXF cut layouts or flat patterns, which the cad skill makes.\nlicense: MIT\nmetadata:\n repository: earthtojake/text-to-cad\n---\n\n# Engineering drawing\n\nAn engineering drawing is a document derived from a part. `cad.eng_drawing` projects views from the\npart's geometry, places dimensions between points on that geometry, finds centre marks, and lays the\nresult out on an ISO sheet with a frame and a title block. Change the model and rerun the drawing\nscript, and the views, hidden lines and measured values follow.\n\nThe output is one PDF, written by a Python script: there is no command and no DXF. A cut layout or a\nflat pattern is a toolpath, not a document: that is the cad skill's.\n\n## Start with the task\n\n| Task | Start with | Reference |\n| --- | --- | --- |\n| Draw a part | `<name>_drawing.py` beside the model, from the script under [Workflow](#workflow) | [The calls](references/sheet-api.md) |\n| Place views, dimensions, hole callouts, notes | `Sheet` and `View` | [Sheet API](references/sheet-api.md) |\n| Check the drawing | What the run prints, then the PDF itself | [Check each change](#check-each-change) |\n\n## Setup\n\nWritten for `cad==0.11.18`. Before first use in a chat, run `cad --version`. If `cad` is missing or older than\n0.11.12, run `uv tool install cad`, adding `--force` if uv says `cad` already exists.\n\nIf cad is a major or minor version newer than this skill, tell the person to update the text-to-cad plugin:\nhttps://github.com/earthtojake/text-to-cad\nA project written for an earlier version may need changes; the migration guides say what:\nhttps://github.com/earthtojake/text-to-cad/tree/main/docs/migrations\n\n## Workflow\n\n```python\nfrom cad.eng_drawing import Sheet, eng_drawing\nfrom enclosure import HOLES, L, H, W, enclosure # the part and its facts come from the model\n\n\n@eng_drawing(out=\"../PDF/enclosure_drawing.pdf\")\ndef enclosure_drawing():\n part = enclosure().shape\n sheet = Sheet(\"A3\", title=\"ENCLOSURE\", part_number=\"ENC-001\", material=\"ABS\",\n revision=\"A\", general_tolerance=\"ISO 2768-m\", notes=[\"BREAK SHARP EDGES.\"])\n top, front, right, iso = sheet.three_views(part, iso=True)\n top.overall()\n top.dim((HOLES[0][0], W / 2, 0), (HOLES[2][0], W / 2, 0))\n top.hole((HOLES[3][0], HOLES[3][1], H / 2), 3, depth=8, count=len(HOLES))\n front.dim((L / 2, -W / 2, 0), (L / 2, -W / 2, H))\n return sheet\n\n\nif __name__ == \"__main__\":\n enclosure_drawing()\n```\n\n```bash\ncad run enclosure_drawing.py\n```\n\n1. **Get the part.** Call the model and take its `.shape`; for a part with no model, read its file\n (`step.read`, `xbf.read`, the path anchored on `Path(__file__).parent`). Any build123d shape works.\n2. **Import the model's facts** (hole pitch, overall size, wall) instead of retyping them, so moving a\n feature moves its dimension.\n3. **Place views.** `sheet.three_views(part, iso=True)` returns four views: top, front and right in\n third angle with room for two rows of dimensions, and an isometric in the free corner (three\n without `iso`). `sheet.view(part, name, at=(x, y))` is for a custom layout, in sheet millimetres\n from the bottom-left corner.\n4. **Dimension what a maker needs**, in model coordinates: overall size (`view.overall()`), feature\n positions and sizes (`view.dim`, with `tol=` or `fit=` where the design requires one), holes as\n callouts (`view.hole`: thru, depth, counterbore, countersink, thread) and notes with leaders\n (`view.note`). Leave `text` unset so the value is measured, and `offset` unset so the dimension\n takes the next free row outside the view.\n5. **Run it and read the PDF.**\n\n## Check each change\n\nThe run prints the PDF it wrote and anything it noticed while drawing. Read those first:\n\n- **\"measures blank paper\"**: a dimension's model points do not land on the view's geometry. Usually\n the part was built from a corner and the script assumed it was centred: check its bounding box.\n- **\"annotation overlaps\"**: two callouts print over each other, usually one view's outermost\n dimension against the label of the view above. Pass a larger `three_views(gap=...)` or place one\n with `offset=`.\n\nThen open the PDF. The sheet keeps callouts clear of the views and reports annotation over\nannotation, but it does not check annotation against line work: confirm no dimension text sits on a\nview, hidden lines appear where features are behind faces, every hole has a centre mark, and no\nleader crosses the part. A dimension of a few millimetres puts its value on its own extension line:\ndimension the larger feature instead.\n\nThe script raises instead of writing a wrong or partial document: views that run off the frame (the\nerror names a scale that fits, or says that none does), an argument outside the vocabulary (an\nunknown view, sheet size or projection; a hole both `thru` and given a depth; `notes=` given a bare\nstring instead of a list; a note wider than the sheet's note column), or a missing renderer. A failed\nrun leaves any earlier PDF untouched.\n\n## What the drawing holds, and what it does not\n\n- Visible edges heavy, hidden edges dashed, centre marks, dimensions with witness lines and\n arrowheads at true size at any drawing scale, and a title block (title, part number, material,\n scale, projection, revision, `SHEET n OF m`) with numbered notes above it. Text longer than its\n title-block cell is set smaller, then cut with an ellipsis, and nothing says so: read the title\n block in the PDF. Hidden tangent edges (a fillet running into a face) are not drawn.\n- The PDF's bytes are a function of its content, with no creation date: an unchanged drawing rebuilds\n to an identical file.\n- **Tolerances are only the ones written** (`tol=`, `fit=`, `general_tolerance=`), from the design's\n requirements or the person, never invented. A dimension without one is nominal.\n- **Views are orthographic projections**: no sections, details or auxiliary views. Say in the hand-off\n what a view does not show.\n"
Full snapshot data
{
"description": "Makes an engineering drawing of a part as a PDF, projected from its 3D geometry so the drawing follows the model, with dimensioned orthographic views, hole callouts, notes and a title block. Use when the person asks for a drawing, a dimensioned sheet, shop or manufacturing drawings, a blueprint, or \"2D views of this part\". Not for DXF cut layouts or flat patterns, which the cad skill makes.",
"included_files": [
{
"relative_path": "LICENSE",
"size_in_bytes": 1074
},
{
"relative_path": "agents/openai.yaml",
"size_in_bytes": 297
},
{
"relative_path": "references/sheet-api.md",
"size_in_bytes": 4363
}
],
"name": "engineering-drawing",
"skill_md_contents": "---\nname: engineering-drawing\ndescription: Makes an engineering drawing of a part as a PDF, projected from its 3D geometry so the drawing follows the model, with dimensioned orthographic views, hole callouts, notes and a title block. Use when the person asks for a drawing, a dimensioned sheet, shop or manufacturing drawings, a blueprint, or \"2D views of this part\". Not for DXF cut layouts or flat patterns, which the cad skill makes.\nlicense: MIT\nmetadata:\n repository: earthtojake/text-to-cad\n---\n\n# Engineering drawing\n\nAn engineering drawing is a document derived from a part. `cad.eng_drawing` projects views from the\npart's geometry, places dimensions between points on that geometry, finds centre marks, and lays the\nresult out on an ISO sheet with a frame and a title block. Change the model and rerun the drawing\nscript, and the views, hidden lines and measured values follow.\n\nThe output is one PDF, written by a Python script: there is no command and no DXF. A cut layout or a\nflat pattern is a toolpath, not a document: that is the cad skill's.\n\n## Start with the task\n\n| Task | Start with | Reference |\n| --- | --- | --- |\n| Draw a part | `<name>_drawing.py` beside the model, from the script under [Workflow](#workflow) | [The calls](references/sheet-api.md) |\n| Place views, dimensions, hole callouts, notes | `Sheet` and `View` | [Sheet API](references/sheet-api.md) |\n| Check the drawing | What the run prints, then the PDF itself | [Check each change](#check-each-change) |\n\n## Setup\n\nWritten for `cad==0.11.18`. Before first use in a chat, run `cad --version`. If `cad` is missing or older than\n0.11.12, run `uv tool install cad`, adding `--force` if uv says `cad` already exists.\n\nIf cad is a major or minor version newer than this skill, tell the person to update the text-to-cad plugin:\nhttps://github.com/earthtojake/text-to-cad\nA project written for an earlier version may need changes; the migration guides say what:\nhttps://github.com/earthtojake/text-to-cad/tree/main/docs/migrations\n\n## Workflow\n\n```python\nfrom cad.eng_drawing import Sheet, eng_drawing\nfrom enclosure import HOLES, L, H, W, enclosure # the part and its facts come from the model\n\n\n@eng_drawing(out=\"../PDF/enclosure_drawing.pdf\")\ndef enclosure_drawing():\n part = enclosure().shape\n sheet = Sheet(\"A3\", title=\"ENCLOSURE\", part_number=\"ENC-001\", material=\"ABS\",\n revision=\"A\", general_tolerance=\"ISO 2768-m\", notes=[\"BREAK SHARP EDGES.\"])\n top, front, right, iso = sheet.three_views(part, iso=True)\n top.overall()\n top.dim((HOLES[0][0], W / 2, 0), (HOLES[2][0], W / 2, 0))\n top.hole((HOLES[3][0], HOLES[3][1], H / 2), 3, depth=8, count=len(HOLES))\n front.dim((L / 2, -W / 2, 0), (L / 2, -W / 2, H))\n return sheet\n\n\nif __name__ == \"__main__\":\n enclosure_drawing()\n```\n\n```bash\ncad run enclosure_drawing.py\n```\n\n1. **Get the part.** Call the model and take its `.shape`; for a part with no model, read its file\n (`step.read`, `xbf.read`, the path anchored on `Path(__file__).parent`). Any build123d shape works.\n2. **Import the model's facts** (hole pitch, overall size, wall) instead of retyping them, so moving a\n feature moves its dimension.\n3. **Place views.** `sheet.three_views(part, iso=True)` returns four views: top, front and right in\n third angle with room for two rows of dimensions, and an isometric in the free corner (three\n without `iso`). `sheet.view(part, name, at=(x, y))` is for a custom layout, in sheet millimetres\n from the bottom-left corner.\n4. **Dimension what a maker needs**, in model coordinates: overall size (`view.overall()`), feature\n positions and sizes (`view.dim`, with `tol=` or `fit=` where the design requires one), holes as\n callouts (`view.hole`: thru, depth, counterbore, countersink, thread) and notes with leaders\n (`view.note`). Leave `text` unset so the value is measured, and `offset` unset so the dimension\n takes the next free row outside the view.\n5. **Run it and read the PDF.**\n\n## Check each change\n\nThe run prints the PDF it wrote and anything it noticed while drawing. Read those first:\n\n- **\"measures blank paper\"**: a dimension's model points do not land on the view's geometry. Usually\n the part was built from a corner and the script assumed it was centred: check its bounding box.\n- **\"annotation overlaps\"**: two callouts print over each other, usually one view's outermost\n dimension against the label of the view above. Pass a larger `three_views(gap=...)` or place one\n with `offset=`.\n\nThen open the PDF. The sheet keeps callouts clear of the views and reports annotation over\nannotation, but it does not check annotation against line work: confirm no dimension text sits on a\nview, hidden lines appear where features are behind faces, every hole has a centre mark, and no\nleader crosses the part. A dimension of a few millimetres puts its value on its own extension line:\ndimension the larger feature instead.\n\nThe script raises instead of writing a wrong or partial document: views that run off the frame (the\nerror names a scale that fits, or says that none does), an argument outside the vocabulary (an\nunknown view, sheet size or projection; a hole both `thru` and given a depth; `notes=` given a bare\nstring instead of a list; a note wider than the sheet's note column), or a missing renderer. A failed\nrun leaves any earlier PDF untouched.\n\n## What the drawing holds, and what it does not\n\n- Visible edges heavy, hidden edges dashed, centre marks, dimensions with witness lines and\n arrowheads at true size at any drawing scale, and a title block (title, part number, material,\n scale, projection, revision, `SHEET n OF m`) with numbered notes above it. Text longer than its\n title-block cell is set smaller, then cut with an ellipsis, and nothing says so: read the title\n block in the PDF. Hidden tangent edges (a fillet running into a face) are not drawn.\n- The PDF's bytes are a function of its content, with no creation date: an unchanged drawing rebuilds\n to an identical file.\n- **Tolerances are only the ones written** (`tol=`, `fit=`, `general_tolerance=`), from the design's\n requirements or the person, never invented. A dimension without one is nominal.\n- **Views are orthographic projections**: no sections, details or auxiliary views. Say in the hand-off\n what a view does not show.\n"
}SHA-256 of public snapshot: 359bdb096421aa00b4a4b7defa2fecb71523e579c6054102eeafdbbc878b2336