| name | render |
| model | claude-opus-4-7 |
| description | Run the Docker rendering pipeline (schematics, PCB, enclosure) |
| disable-model-invocation | true |
| allowed-tools | Bash, Read, Glob |
| argument-hint | ["all|schematics|pcb|enclosure"] |
Docker Rendering Pipeline
Render project assets via Docker containers.
Argument (optional): all (default), schematics, pcb, or enclosure.
Prerequisites
Ensure Docker is running and images are built:
cd /Users/pierrejonnycau/Documents/WORKS/esp32-emu-turbo
docker compose build
Render Commands
Schematics (KiCad schematic → SVG/PDF)
docker compose run --rm generate-sch
./scripts/render-schematics.sh
Output: website/static/img/schematics/*.svg
PCB (layout visualization)
python3 -m scripts.generate_pcb hardware/kicad
python3 scripts/render_pcb_svg.py website/static/img/pcb
python3 scripts/render_pcb_animation.py website/static/img/pcb
Output: website/static/img/pcb/
Enclosure (OpenSCAD → PNG)
./scripts/render-enclosure.sh
Output: website/static/img/renders/ (7 views: front, back, top, exploded, cross-section, fit-check, pcb)
All
make render-all
Post-render
After rendering, check that outputs exist:
ls -la website/static/img/schematics/*.svg
ls -la website/static/img/pcb/*.svg
ls -la website/static/img/renders/*.png
Key Files
scripts/render-all.sh — Master orchestration
scripts/render-schematics.sh — Schematic SVG export
scripts/render-enclosure.sh — OpenSCAD rendering
scripts/render_pcb_svg.py — PCB SVG visualization
scripts/render_pcb_animation.py — PCB GIF animation
docker-compose.yml — Docker service definitions