Files
metabuilder/exploded-diagrams/package.json
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

32 lines
821 B
JSON

{
"name": "exploded-diagrams",
"version": "1.0.0",
"description": "Interactive exploded diagram viewer - Next.js",
"private": true,
"scripts": {
"dev": "rm -rf .next && next dev --turbopack",
"dev:webpack": "rm -rf .next && next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"clean": "rm -rf .next node_modules/.cache"
},
"dependencies": {
"@jscad/modeling": "^2.12.6",
"@react-three/drei": "^10.7.7",
"@react-three/fiber": "^9.5.0",
"next": "15.3.4",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"three": "^0.182.0"
},
"devDependencies": {
"@types/node": "^22.0.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@types/three": "^0.182.0",
"sass": "^1.97.0",
"typescript": "^5.0.0"
}
}