TURBOPRIMITIVES v1.0

Web-based prototype for building a shape from simple geometric primitives and cutting a negative form out of it. The shape is assembled from a base layer of primitives and a negative layer whose primitives are subtracted from the base. The subtraction is done with constructive solid geometry, and the result is shown as a single mesh. Primitives can be moved, rotated and scaled, optionally snapped to a grid and an angle step. Symmetry across the X, Y and Z axes creates mirrored copies of every primitive, and overlapping copies are skipped during the calculation. The prototype shows the base layer and the negative layer separately in an edit view and the combined result in a result view. The result can be exported as a GLB file, either with or without the cut. The prototype is meant for shape exploration, design studies and as a starting point for further tools or 3D printing.
- Version: v1.0
- Seven primitives: cube, sphere, cylinder, cone, pyramid, torus, capsule
- Two layers: base and negative form
- Boolean subtraction of the negative layer from the base layer
- Symmetry across X, Y and Z axes with mirrored copies
- Move, rotate and scale with optional grid and angle snap
- Undo and redo history, copy, paste and duplicate
- Export of the result as a GLB file
- Tech: Three.js r160, three-mesh-bvh 0.7.6, three-bvh-csg 0.0.16, WebGL
- Requires: WebGL-capable browser, internet connection for libraries loaded from a CDN