104 lines
7.5 KiB
Markdown
104 lines
7.5 KiB
Markdown
---
|
|
title: "AI CAD Skill & Agent Pack"
|
|
category: "articles"
|
|
subcategory: "ai-cad"
|
|
order: 2
|
|
description: "Downloadable skill and agent pack for building 1:1 mm orthographic 2D blueprints and step-by-step parametric 3D CAD models with FigCraft, CadCraft, SolidCraft, and FreeCAD."
|
|
tags:
|
|
- articles
|
|
- ai-cad
|
|
- skills
|
|
- agents
|
|
- solidcraft
|
|
- figcraft
|
|
- cadcraft
|
|
- freecad
|
|
---
|
|
|
|
# AI CAD skill & agent pack
|
|
|
|
This folder contains the universal AI CAD skill and custom agent definitions used to design [`SnapS4`](../AI-3D-Modeling-Walkthrough.md#project-1-snaps4-filament-dryer-shelf-for-the-snapmaker-u1), [`BC250`](../AI-3D-Modeling-Walkthrough.md#project-2-amd-bc-250-dual-fan-enclosure-and-psu-mount), and [`Plerion`](../AI-3D-Modeling-Walkthrough.md#project-3-plerion-260-body-reconstruction-from-the-october-special-session).
|
|
|
|
This pack was created with **Gemini**, and **Claude** or any other AI coding model can adapt the steps directly. We included `AGENTS.md`, `GEMINI.md`, and `CLAUDE.md` so any assistant you use can follow the workflow out of the box.
|
|
|
|
You can download the complete pack as a single ZIP archive or pull just this folder via Git into your own project workspace.
|
|
|
|
## Option 1: Direct ZIP download
|
|
|
|
* **Download ZIP archive:** [`ai-cad-skill-pack.zip`](./ai-cad-skill-pack.zip)
|
|
* Extract the downloaded archive into your workspace:
|
|
```bash
|
|
unzip ai-cad-skill-pack.zip -d my-cad-workspace
|
|
cd my-cad-workspace
|
|
```
|
|
|
|
## Option 2: Pull only these files with Git sparse-checkout
|
|
|
|
If you want to pull just the skill and agent files from our repository without downloading the rest of the meetup repo, run:
|
|
|
|
```bash
|
|
git clone --filter=blob:none --no-checkout https://meetup.fargo3d.com/Fargo3d/3DPrintMeetup.git ai-cad-workspace
|
|
cd ai-cad-workspace
|
|
git sparse-checkout init --cone
|
|
git sparse-checkout set Articles/ai-cad-skill-pack
|
|
git checkout master
|
|
```
|
|
|
|
To copy the `.agents/`, `.github/`, and steering files straight to your workspace root after checking them out:
|
|
|
|
```bash
|
|
cp -r Articles/ai-cad-skill-pack/.agents Articles/ai-cad-skill-pack/.github Articles/ai-cad-skill-pack/AGENTS.md Articles/ai-cad-skill-pack/GEMINI.md Articles/ai-cad-skill-pack/CLAUDE.md .
|
|
cp Articles/ai-cad-skill-pack/.cad-tools.example.json .cad-tools.json
|
|
```
|
|
|
|
---
|
|
|
|
## What is included in this pack
|
|
|
|
| File Path | Purpose |
|
|
| :--- | :--- |
|
|
| [`AGENTS.md`](./AGENTS.md), [`GEMINI.md`](./GEMINI.md) & [`CLAUDE.md`](./CLAUDE.md) | Root workspace steering guides for Gemini, Claude, and other AI coding agents covering the routing table, Gate 0 blueprint approval gate, and step-by-step parametric history rules |
|
|
| [`.cad-tools.example.json`](./.cad-tools.example.json) | Example Step 0 toolchain and target printer build-volume configuration file. Copy to `.cad-tools.json` in your workspace root |
|
|
| [`.agents/skills/svg-blueprint-drafter/SKILL.md`](./.agents/skills/svg-blueprint-drafter/SKILL.md) | Skill for drafting 1:1 mm (`1 px = 1 mm`) third-angle orthographic Side, Front, and Top blueprints in FigCraft, CadCraft DXF, and SVG |
|
|
| [`.agents/skills/cad-qa-inspector/SKILL.md`](./.agents/skills/cad-qa-inspector/SKILL.md) | Skill for Step 0 intake, steel-ruler photo calibration, EXIF orientation checks, cross-view projection verification, and zero-clash B-rep audits |
|
|
| [`.agents/skills/solidcraft-3d-builder/SKILL.md`](./.agents/skills/solidcraft-3d-builder/SKILL.md) | Skill for step-by-step parametric 3D modeling in SolidCraft (`parameters.add`, solved 2D sketches, named 3D timeline features, 3MF export, and Vulkan GPU renders) |
|
|
| [`.agents/skills/freecad-step-builder/SKILL.md`](./.agents/skills/freecad-step-builder/SKILL.md) | Skill for headless FreeCAD (`FreeCADCmd`) parametric `Spreadsheet::Sheet` + `PartDesign::Body` modeling, STEP/STL exports, and standalone HTML/WebGL 3D viewers |
|
|
| [`.github/agents/svg-blueprint-drafter.agent.md`](./.github/agents/svg-blueprint-drafter.agent.md) | Custom agent definition for the 2D orthographic blueprint drafter |
|
|
| [`.github/agents/cad-qa-inspector.agent.md`](./.github/agents/cad-qa-inspector.agent.md) | Custom agent definition for the QA, metrology, and DFM inspector |
|
|
| [`.github/agents/solidcraft-3d-builder.agent.md`](./.github/agents/solidcraft-3d-builder.agent.md) | Custom agent definition for the SolidCraft 3D and 3MF builder |
|
|
| [`.github/agents/freecad-step-builder.agent.md`](./.github/agents/freecad-step-builder.agent.md) | Custom agent definition for the FreeCAD STEP and STL builder |
|
|
|
|
---
|
|
|
|
## Required Craft & CAD tools
|
|
|
|
You can install **FigCraft** and **CADCraft** directly through the **[ArtCraft Launcher](https://github.com/storytold/craft-launcher)**, download pre-built binaries from each project's GitHub releases, or build them from source in Rust:
|
|
|
|
| Tool | Role in the AI CAD Pipeline | GitHub Repository | Releases & Website |
|
|
| :--- | :--- | :--- | :--- |
|
|
| **ArtCraft Launcher** | One-click installer and updater for the Craft App Suite (`FigCraft`, `CADCraft`, and more) | [`storytold/craft-launcher`](https://github.com/storytold/craft-launcher) | [Latest Release](https://github.com/storytold/craft-launcher/releases/latest) |
|
|
| **FigCraft** | 1:1 mm 2D vector blueprints, multi-view blueprint boards (`.figcraft`), SVG/PDF/PNG exports, and `figcraft-cli mcp` server. Uses [`storytold/craft-fonts`](https://github.com/storytold/craft-fonts) when building from source | [`storytold/figcraft`](https://github.com/storytold/figcraft) | [Latest Release](https://github.com/storytold/figcraft/releases/latest) |
|
|
| **CADCraft** | Precision 1:1 mm 2D CAD drafting, native `.dxf`/`.dwg` generation, and `cadcraft-cli mcp` server | [`storytold/cadcraft`](https://github.com/storytold/cadcraft) | [Latest Release](https://github.com/storytold/cadcraft/releases/latest) |
|
|
| **SolidCraft** | Parametric 3D CAD solid modeler with editable feature timeline, B-rep clearance audits, 3MF export, Vulkan GPU rendering, and `solidcraft-cli mcp` server | [`tangency-labs/solidcraft`](https://github.com/tangency-labs/solidcraft) | [Latest Release](https://github.com/tangency-labs/solidcraft/releases/latest) \| [solidcraft.io](https://solidcraft.io) |
|
|
| **FreeCAD** | Optional headless OpenCASCADE (`FreeCADCmd`) parametric `PartDesign::Body` + `Spreadsheet` builder for `.FCStd`, `.step`, and `.stl` exports | [`FreeCAD/FreeCAD`](https://github.com/FreeCAD/FreeCAD) | [freecad.org](https://www.freecad.org) |
|
|
|
|
---
|
|
|
|
## Quick start in your own project
|
|
|
|
1. Extract [`ai-cad-skill-pack.zip`](./ai-cad-skill-pack.zip) or copy `.agents/`, `.github/`, and `AGENTS.md` into your workspace root.
|
|
2. Copy `.cad-tools.example.json` to `.cad-tools.json` and set the paths to your installed tools (`solidcraft-cli`, `cadcraft-cli`, `figcraft-cli`, or `FreeCADCmd`) along with `"is_3d_printed": true` or `false`.
|
|
3. Create a project folder such as `MyBracket/Source Images/` and drop in photos of your hardware with a steel ruler held flat on the same plane as the features you need to measure.
|
|
4. Give your AI coding agent this kickoff prompt to calibrate the photos and pause at Gate 0:
|
|
|
|
```text
|
|
Follow AGENTS.md. Inspect the ruler photos in MyBracket/Source Images/ with cad-qa-inspector to verify EXIF orientation and calibrate the millimeter scale. Then use svg-blueprint-drafter to draft 1:1 mm Side, Front, and Top 2D orthographic blueprints for [describe your bracket or enclosure] in MyBracket/Drafts/ and stop at Gate 0 so I can verify the measurements before any 3D CAD begins.
|
|
```
|
|
|
|
5. Review the 1:1 mm 2D drawings against your physical hardware, apply any dimension corrections, and then tell the agent to proceed to Gate 1 to build the step-by-step parametric 3D CAD assembly.
|
|
|
|
---
|
|
|
|
**Last Updated**: November 1, 2026
|
|
|