Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:48:12 +08:00
commit 3c0977ba9c
8 changed files with 465 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
---
description: Generate angle guide wedge for compound cuts
---
You are generating an angle wedge STL file using the stl-generator skill and pre-built script.
**Workflow:**
1. Invoke the stl-generator skill
2. Ask the user for:
- Angle in degrees (1-60°)
- Optional: output filename
3. Run the angle wedge script:
```bash
python /home/ivan/ihistand-projects/claude-plugins/stl-generator-toolkit/scripts/angle_wedge.py <angle_degrees> output.stl
```
4. Move STL to `/mnt/user-data/outputs/`
5. Provide:
- Download link: `[View your file](computer:///mnt/user-data/outputs/filename.stl)`
- Angle confirmation
- Suggested print settings (orient flat side on bed, no supports needed)
**Use case**: Compound miter cuts, angled assembly work, saw blade setup verification.

View File

@@ -0,0 +1,24 @@
---
description: Generate circle cutting jig for router work
---
You are generating a circle cutting jig STL file using the stl-generator skill and pre-built script.
**Workflow:**
1. Invoke the stl-generator skill
2. Ask the user for:
- Outer diameter (mm)
- Inner diameter (mm)
- Optional: output filename
3. Run the circle cutting jig script:
```bash
python /home/ivan/ihistand-projects/claude-plugins/stl-generator-toolkit/scripts/circle_cutting_jig.py <outer_diameter> <inner_diameter> output.stl
```
4. Move STL to `/mnt/user-data/outputs/`
5. Provide:
- Download link: `[View your file](computer:///mnt/user-data/outputs/filename.stl)`
- Dimensions summary
- Suggested print settings (3-4 perimeter walls, 20% infill)
**Use case**: Perfect for lampshade rings, circular frames, and router compass cutting.

25
commands/stl-generate.md Normal file
View File

@@ -0,0 +1,25 @@
---
description: Generate custom 3D printable STL files for woodworking jigs
---
You are generating a custom STL file for 3D printing using the stl-generator skill.
**Workflow:**
1. Invoke the stl-generator skill
2. Ask the user what type of jig or fixture they need
3. Gather requirements:
- Dimensions and specifications
- Functional requirements
- Any special features needed
4. Check if a pre-built script exists (circle cutting jig, angle wedge, spacing block)
5. If pre-built script exists:
- Run the appropriate script with user's parameters
- Move STL to `/mnt/user-data/outputs/`
6. If custom design needed:
- Write CadQuery code following patterns from references
- Export STL file
- Move to `/mnt/user-data/outputs/`
7. Provide download link and print settings recommendations
**Critical**: Always verify design fits within 225×225×265mm build volume (Elegoo Neptune 4 Pro).

View File

@@ -0,0 +1,28 @@
---
description: Generate precision spacing blocks for assembly
---
You are generating spacing block STL file(s) using the stl-generator skill and pre-built script.
**Workflow:**
1. Invoke the stl-generator skill
2. Ask the user for spacing requirements:
- Single block: height (required), width, depth
- Set of blocks: comma-separated heights (e.g., "5,10,15,20")
- Optional: output filename
3. Run the spacing block script:
```bash
# Single block
python /home/ivan/ihistand-projects/claude-plugins/stl-generator-toolkit/scripts/spacing_block.py <height_mm> [width_mm] [depth_mm] output.stl
# Set of blocks
python /home/ivan/ihistand-projects/claude-plugins/stl-generator-toolkit/scripts/spacing_block.py set <h1>,<h2>,<h3> output.stl
```
4. Move STL to `/mnt/user-data/outputs/`
5. Provide:
- Download link: `[View your file](computer:///mnt/user-data/outputs/filename.stl)`
- Block dimensions
- Suggested print settings (100% infill for accuracy, 4 perimeters)
**Use case**: Consistent assembly gaps, router bit height setup, dado spacing verification.