parametric-cad-design
Installation
SKILL.md
Parametric CAD Design
Use this skill for agent-assisted mechanical design where the deliverable should remain editable and reproducible, not just a one-off mesh.
Core Workflow
- Inspect source files before designing. Prefer
.shaprpackage metadata, STEP labels, measured bounding boxes, datasheets, and old README notes over visual guesses. - For asymmetric modules, define the source face, mating face, optical axis, PCB long axis, PCB short axis, and sign convention before changing geometry. Write the source-to-holder transform explicitly.
- Decide the mode: exact B-rep regeneration, surgical print-fit variant, or new clean parametric design. Do not mix these silently.
- Keep dimensions in named parameters. Do not globally scale a whole part to tune fit.
- Preserve prior project runs inside the same design folder. Use
runs/run-N-human-readable-info-YYYYMMDDTHHMMSSZ/for archived runs and keep the rootartifacts/directory as the latest checked output. - Export editable source, decomposed STEP bodies, assembly STEP, printable STL, and full-view render PNG. Add exploded/detail renders when geometry is hard to inspect.
- Validate STEP import, solid count, bounding box, mesh watertight/component count, and render before committing.
- Put one directly usable final STEP at the design root as
USE_THIS_<design>.stepwhen there are many artifact STEP files. Keep reference/cutter/smooth variants underartifacts/. - When the user asks for Nutstore sync, or when generating final LabCanvas CAD handoff artifacts, copy the final root
USE_THIS_*.stepor final*_assembly.step/*_assembled.stepto/home/lachlan/Nutstore Files/Projects/LabCanvaswith its descriptive filename intact.
When Shapr3D archives, OpenHI/Nature geometry, C-mount, optical holders, or sensor/PCB holders are involved, read references/shapr3d-cad-patterns.md after this file.
When a PCB photo, sketch, rear view, component view, or mating face controls an asymmetric holder, also read references/pcb-sensor-mating-face-orientation.md.
When joining round OpenHI/4F tubes inside a thin square envelope, also read references/openhi-square-tube-connectors.md.