Skip to content
Back to skills

Cad Build

ASecurity

Use when a part must be built or regenerated in code-CAD (manifold3d/trimesh in the project venv, or Fusion 360) with its source saved beside the STL, geometric checks and a render. Runs the cad-engineer in a fresh context and writes to the project folder named in the arguments.

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added October 24, 2026
ai-agentspython

Security analysis

A100/100

Scanned October 24, 2026

npx -y skills add mementomori-co/maker-mastery --skill cad-build --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cad Build?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cad Build
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mementomori-co-cad-build/badge)](https://www.skillsdirectory.com/skills/mementomori-co-cad-build)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cad-build
description: Use when a part must be built or regenerated in code-CAD (manifold3d/trimesh in the project venv, or Fusion 360) with its source saved beside the STL, geometric checks and a render. Runs the cad-engineer in a fresh context and writes to the project folder named in the arguments.
argument-hint: "<output folder> | <spec or reference STL (read-only)>"
context: fork
agent: cad-engineer
---
## Overview
Input: $ARGUMENTS, as `<output folder> | <spec>`. Output: `<folder>\<part>.py`, `<part>.stl`, `render.png`, `report.md` (measured vs regenerated, checks).

## When to use
New parts, regenerations from a spec, or fixes to a part whose source exists (read the source first; never write into a folder listed in `protected_roots` in `config\paths.yaml`). Not for organic shapes (`/sculpt`).

## Steps
1. If a reference STL or source is named, measure or read it first with `.venv\Scripts\python.exe` (trimesh). Parameters at the top of the script, one function per feature.
2. Export the STL. Checks: watertight, `is_volume`, bounds and volume against the reference, distinct generated points, interference / swing / slide-in where mating parts are given.
3. Render the real STL with Blender headless (`<blender_exe> -b -P <script> -- ...`, `blender_exe` from `config\paths.yaml`; if it is empty, say the render was not done).
4. Write `report.md`; return the folder path and check summary.

## Common rationalizations
| Rationalization | Reality |
|---|---|
| "I'll save the script later." | A part whose script was never saved cannot be regenerated or fixed. Script first, STL second. |
| "Nearest vertex is close enough." | Snapping to the nearest vertex can merge distinct features into pairs. Use the nearest point on the edge, then a uniqueness check. |

## Red flags
- An STL without a `.py` beside it.
- A boolean result that is not `is_volume`.

## Verification
- [ ] `.py`, `.stl`, `render.png`, `report.md` in the folder.
- [ ] Checks listed with numbers; any failed check named.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.