3D CAD Skill
Use this skill for parametric 3D modeling tasks where geometry must be correct, manufacturable, and easy to revise.
When To Use It
Trigger this skill when the user asks for any of the following:
- A 3D printable or CAD-ready part
- OpenSCAD or build123d model generation
- Edits to an existing parametric model
- Shape debugging from screenshots, renders, or exported meshes
- Precise dimensions, fit checks, tolerances, wall thicknesses, or hole placement
Core Rule
Do not trust mental visualization of 3D geometry. Write code, render or export a view, inspect the result, then revise.
If the environment supports screenshots or image inspection, use them after every meaningful geometry change. If not, inspect through deterministic evidence such as orthographic projections, section cuts, bounding-box checks, and explicit dimension calculations.
Workflow
- Capture the design brief.
- Choose the modeling representation.
- Build the smallest correct parametric skeleton.
- Render and inspect.
- Fix one geometric issue at a time.
- Deliver the model with clear parameters and assumptions.
1. Capture The Design Brief
Before modeling, extract:
- Target output:
stl, step, 3mf, source code only, or all of them
- Modeling stack: prefer the user's requested tool; otherwise default to the simplest proven option
- Critical dimensions and units
- Mating parts, clearances, print orientation, and strength constraints
- Whether the goal is appearance, fit, mechanism, or manufacturability
If requirements are incomplete, make explicit assumptions and keep the first version simple.
2. Choose The Modeling Representation
- Use OpenSCAD for straightforward constructive solid geometry, parameterized print parts, jigs, spacers, brackets, trays, and enclosures.
- Use build123d when the part benefits from sketch-extrude workflows, fillet/chamfer-heavy operations, or more structured Python logic.
- Prefer simple primitives and boolean composition before introducing advanced operations.
3. Build The Smallest Correct Parametric Skeleton
Start with a coarse model that proves overall proportions and alignment:
- Define top-level parameters first.
- Separate base body, cutouts, mounts, and cosmetic details.
- Keep transforms and coordinate frames obvious.
- Delay fillets, chamfers, text embossing, and decorative features until the base geometry is correct.
Structure code so a later pass can adjust one concern without rewriting the whole model.
4. Render And Inspect
After each meaningful change, inspect the result deliberately:
- Check silhouette and proportions from multiple angles.
- Check critical dimensions numerically.
- Check whether holes, cutouts, and mating faces are centered and aligned.
- Check printability: unsupported spans, wall thickness, trapped voids, and impossible overhangs.
- Check whether the model matches the user's stated intent, not just whether the code runs.
Read references/geometry-iteration.md when the task needs a stricter inspection loop or when you are debugging repeated geometry mistakes.
5. Fix One Geometric Issue At A Time
When something looks wrong:
- Name the defect precisely.
- Identify the smallest parameter or operation likely causing it.
- Change one thing.
- Re-render and compare against the previous result.
Avoid broad rewrites unless the part architecture is clearly wrong.
6. Deliverables
Default deliverables:
- The source model
- A short list of exposed parameters
- Assumptions and unresolved risks
- Export instructions if the environment cannot generate meshes directly
When useful, also provide:
- Recommended print orientation
- Suggested tolerance ranges
- Notes on likely failure points or reinforcement options
Quality Bar
The final result should be:
- Parametric rather than hard-coded
- Easy to inspect and revise
- Dimensionally explicit
- Realistic for the intended fabrication method
- Honest about assumptions and unverified fit
1---2name: 3d-cad-skill3description: Create and iterate parametric 3D CAD models for Claude using an inspectable feedback loop. Use when the task involves OpenSCAD, build123d, STL/STEP/3MF output, fixture/enclosure/adapter design, or debugging shape accuracy from renders or screenshots.4---56# 3D CAD Skill78Use this skill for parametric 3D modeling tasks where geometry must be correct, manufacturable, and easy to revise.910## When To Use It1112Trigger this skill when the user asks for any of the following:1314- A 3D printable or CAD-ready part15- OpenSCAD or build123d model generation16- Edits to an existing parametric model17- Shape debugging from screenshots, renders, or exported meshes18- Precise dimensions, fit checks, tolerances, wall thicknesses, or hole placement1920## Core Rule2122Do not trust mental visualization of 3D geometry. Write code, render or export a view, inspect the result, then revise.2324If the environment supports screenshots or image inspection, use them after every meaningful geometry change. If not, inspect through deterministic evidence such as orthographic projections, section cuts, bounding-box checks, and explicit dimension calculations.2526## Workflow27281. Capture the design brief.292. Choose the modeling representation.303. Build the smallest correct parametric skeleton.314. Render and inspect.325. Fix one geometric issue at a time.336. Deliver the model with clear parameters and assumptions.3435## 1. Capture The Design Brief3637Before modeling, extract:3839- Target output: `stl`, `step`, `3mf`, source code only, or all of them40- Modeling stack: prefer the user's requested tool; otherwise default to the simplest proven option41- Critical dimensions and units42- Mating parts, clearances, print orientation, and strength constraints43- Whether the goal is appearance, fit, mechanism, or manufacturability4445If requirements are incomplete, make explicit assumptions and keep the first version simple.4647## 2. Choose The Modeling Representation4849- Use OpenSCAD for straightforward constructive solid geometry, parameterized print parts, jigs, spacers, brackets, trays, and enclosures.50- Use build123d when the part benefits from sketch-extrude workflows, fillet/chamfer-heavy operations, or more structured Python logic.51- Prefer simple primitives and boolean composition before introducing advanced operations.5253## 3. Build The Smallest Correct Parametric Skeleton5455Start with a coarse model that proves overall proportions and alignment:5657- Define top-level parameters first.58- Separate base body, cutouts, mounts, and cosmetic details.59- Keep transforms and coordinate frames obvious.60- Delay fillets, chamfers, text embossing, and decorative features until the base geometry is correct.6162Structure code so a later pass can adjust one concern without rewriting the whole model.6364## 4. Render And Inspect6566After each meaningful change, inspect the result deliberately:6768- Check silhouette and proportions from multiple angles.69- Check critical dimensions numerically.70- Check whether holes, cutouts, and mating faces are centered and aligned.71- Check printability: unsupported spans, wall thickness, trapped voids, and impossible overhangs.72- Check whether the model matches the user's stated intent, not just whether the code runs.7374Read [`references/geometry-iteration.md`](/home/ares/.claude/skills/3d-cad-skill/references/geometry-iteration.md) when the task needs a stricter inspection loop or when you are debugging repeated geometry mistakes.7576## 5. Fix One Geometric Issue At A Time7778When something looks wrong:7980- Name the defect precisely.81- Identify the smallest parameter or operation likely causing it.82- Change one thing.83- Re-render and compare against the previous result.8485Avoid broad rewrites unless the part architecture is clearly wrong.8687## 6. Deliverables8889Default deliverables:9091- The source model92- A short list of exposed parameters93- Assumptions and unresolved risks94- Export instructions if the environment cannot generate meshes directly9596When useful, also provide:9798- Recommended print orientation99- Suggested tolerance ranges100- Notes on likely failure points or reinforcement options101102## Quality Bar103104The final result should be:105106- Parametric rather than hard-coded107- Easy to inspect and revise108- Dimensionally explicit109- Realistic for the intended fabrication method110- Honest about assumptions and unverified fit