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/test-suite
Jason Hall 0fcfc580f1
Add comprehensive test suite and automatic README generation
- Add 40 test SCAD files covering various OpenSCAD features:
  - Basic shapes (sphere, cylinder, cone, torus)
  - Boolean operations (union, difference, intersection)
  - Advanced features (polyhedron, extrusion, recursion)
  - Complex patterns (Menger sponge, voronoi, fractals)
  - Mathematical surfaces (bezier, gyroid, saddle)
  - Mechanical parts (gears, springs, knurled surfaces)

- Add automatic README.md generation for each output:
  - Links to STL file
  - Displays all 8 PNG views
  - Includes timestamp and attribution

- Document discovered limitations:
  - Text rendering requires fonts (not available in WASM)
  - Complex boolean operations may fail
  - Mesh topology constraints
  - No implicit surface support
  - No adaptive mesh refinement

- Update generate-test-suite.sh to show timing information

The test suite validates functionality and documents edge cases.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-20 19:28:23 -04:00
..
01-sphere.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
02-cylinder.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
03-cone.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
04-torus.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
05-union.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
06-difference.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
07-intersection.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
08-polyhedron.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
09-text.scad-SKIPPED Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
10-parametric-star.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
11-helix.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
12-hollow-sphere.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
13-rounded-box.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
14-complex-assembly.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
15-parametric-grill.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
16-twisted-cube.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
17-fractal-tree.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
18-pipe-joint.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
19-voronoi-pattern.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
20-parametric-box-array.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
21-nested-differences.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
22-complex-polygon-extrusion.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
23-recursive-pattern.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
24-surface-from-function.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
25-chained-hulls.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
26-voronoi-3d.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
27-parametric-spring.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
28-bezier-surface.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
29-gear-train.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
30-knurled-cylinder.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
31-nested-lattice.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
32-involute-gear.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
33-swept-path.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
34-geodesic-sphere.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
35-parametric-bottle.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
36-boolean-art.README.md Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
36-boolean-art.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
37-mesh-deformation.README.md Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
37-mesh-deformation.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
38-compound-gears.README.md Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
38-compound-gears.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
39-gyroid-structure.README.md Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
39-gyroid-structure.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
40-adaptive-mesh.README.md Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00
40-adaptive-mesh.scad Add comprehensive test suite and automatic README generation 2025-06-20 19:28:23 -04:00