1
0
Fork 0
mirror of https://github.com/imjasonh/scad-to-png synced 2026-07-07 01:22:23 +00:00
scad-to-png/examples
Jason Hall 3a28919b97
Add support for parametric OpenSCAD models
- Add -D/--define option to pass parameters to OpenSCAD
- Parameters are passed through to OpenSCAD WASM using the same syntax
  as native OpenSCAD CLI (e.g., -D width=30 -D has_lid=true)
- Update openscad-wrapper.mjs to handle additional command-line arguments
- Add parametric-box.scad example demonstrating parameter usage
- Update documentation with parameter examples
- Include rendered outputs for parametric example with default values

This enables users to explore parametric models without modifying the
source files, which is particularly useful for CI/CD pipelines and
AI agents testing different variations.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-20 18:17:22 -04:00
..
gear.scad Initial commit: scad-to-png CLI tool 2025-06-20 18:10:17 -04:00
parametric-box.scad Add support for parametric OpenSCAD models 2025-06-20 18:17:22 -04:00
simple-box.scad Initial commit: scad-to-png CLI tool 2025-06-20 18:10:17 -04:00