fabianschurig/cad-and-3d-printing-skills
Agent skills for AI-assisted CAD design for FDM 3D printing: spec-first workflow, Fusion and build123d modelling, verification-first geometry checks, scan-to-sketch, surface detail, export validation and print diagnosis.
Model printable parts as headless, parametric Python code-CAD with build123d (OpenCASCADE) and export STEP/STL/3MF - no GUI CAD needed, runs in a container or CI. Use when the user has no Fusion document, wants a scriptable or reproducible part, or wants variants generated from parameters.
Two-axis review of a part before export or release - (1) printability and model hygiene against FDM rules and parametric conventions, (2) conformance to the spec and its acceptance checks - with every finding backed by a measurement. Use when a part is ready for export, release or printing, or when the user asks to review a design.
Write or update a part spec (spec.md) and its machine-readable acceptance checks (checks.json) before modelling - requirements, mating dimensions with source and tolerance, process, out of scope. Use when starting a part, when requirements, fits, loads or orientation are unclear, or when a change request arrives.
Run a CAD-for-3D-printing task end to end through phase gates (spec, verify-first, model, review, export, print log). Start here for a new part, a change, a remodel from a scan, size variants, a print failure, or pausing/resuming work.
Geometric design rules for FFF/FDM 3D-printed parts (wall thickness, holes, overhangs, bridges, clearances, pins, threads, embossed text, base edges, print orientation, part splitting). Use when designing or reviewing a part that will be 3D printed, choosing fit clearances, splitting a large part, or checking whether geometry prints without supports.
Write and run Autodesk Fusion API (adsk.core / adsk.fusion) Python scripts through the Fusion MCP server or the Scripts dialog. Use when automating Fusion modelling, building a design from a script, inspecting a Fusion design programmatically, or when a Fusion script fails, times out, or produces wrong dimensions.
Plan and build clean, parameter-driven Autodesk Fusion designs with an ordered, named timeline, and derive size variants from parameters. Use when starting a new Fusion part, restructuring a messy timeline, adding user parameters, remodelling a part from measurements or scans, or generating several size variants of a part.
Verification-first CAD loop - write acceptance checks (extents, volume, wall thickness, open bores, solid regions, single watertight body) before modelling, watch them fail, model until they pass, and render previews. Use when building or changing any part, fixing a fit, or claiming a model meets its spec.
Add printable surface detail to a CAD body as a mesh step - raised or engraved artwork, logos and text wrapped onto cylinders and cones, or displacement textures - and union it robustly. Use when embossing artwork on curved surfaces, adding textures or knurling, or when CAD emboss/wrap features are too slow.
Export CAD bodies to print-ready meshes and gate them (watertight, single body, on the bed, fits the build volume, overhangs, volume vs. CAD), then prepare slicer projects and document what was checked. Use when exporting STL/3MF, preparing parts for printing, writing a print report, or handing printable files to someone.
Diagnose a failed, warped, stringy or badly fitting 3D print with a tight test loop, falsifiable hypotheses and one change at a time, then encode the fix as a spec rule or check. Use when a print fails, does not fit its mating part, breaks, warps, or shows quality defects.
Turn a flatbed scan or orthographic photo of an existing part into a calibrated 2D outline (DXF/SVG plus JSON manifest with scale state and uncertainty) to remodel it in CAD. Use when reverse-engineering, remodelling or copying a physical part from scans, photos and caliper measurements.