1
0
Fork 0
mirror of https://github.com/imjasonh/scad-to-png synced 2026-07-07 01:22:23 +00:00
Commit graph

3 commits

Author SHA1 Message Date
Jason Hall
73954341fd
Update README and CLAUDE.md with recent additions and learnings
- Document automatic README.md generation for outputs
- Add known limitations discovered from test suite
- Update repository URL to correct GitHub account
- Add font support issues and workarounds
- Document test suite structure and usage
- Include debugging tips for test failures

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-20 19:37:56 -04:00
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
Jason Hall
4e648c7968
Initial commit: scad-to-png CLI tool
A Node.js CLI tool that converts OpenSCAD files to PNG images without
requiring OpenSCAD installation. Uses OpenSCAD WebAssembly for conversion
and implements a software renderer for STL to PNG conversion.

Features:
- Converts .scad files to STL and PNG outputs
- Renders from 8 different viewpoints
- No OpenSCAD installation required
- Pre-commit hooks to keep examples up to date
- GitHub Actions workflow for CI

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-20 18:10:17 -04:00