Files
metabuilder/exploded-diagrams/docs/plans
johndoe6345789 2e11f6e16e feat: Add WebGL 3D part viewer with JSCAD geometry support
- Add tabbed interface to switch between Exploded View and 3D Part View
- Create JSCAD-to-Three.js converter for CSG operations (union, subtract, intersect)
- Support cylinder, box, sphere, torus, cone geometry types with transforms
- Add ThreeCanvas component with OrbitControls for camera manipulation
- Add PartSelector sidebar for selecting parts to view in 3D
- Extend Part type with optional geometry3d array for 3D definitions
- Add geometry3d to clutch parts: flywheel, clutch-disc, pressure-plate, release-bearing
- Parts without geometry3d fall back to placeholder box

Dependencies: three, @react-three/fiber, @react-three/drei, @jscad/modeling

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 21:11:31 +00:00
..