{"repo":"gkjohnson/three-bvh-csg","free":true,"listed":false,"github":"https://github.com/gkjohnson/three-bvh-csg","clone":"git clone https://github.com/gkjohnson/three-bvh-csg.git","description":"A flexible, memory compact, fast and dynamic CSG implementation on top of three-mesh-bvh","language":"JavaScript","stars":939,"topics":["3d-printing","computational-solid-geometry","construction","constructive-solid-geometry","csg","game-development","geometry","graphics","three","three-mesh-bvh"],"license":"MIT","category":"game-templates","readme_excerpt":"three-bvh-csg An experimental, in progress , flexible, memory compact, fast and dynamic Constructive Solid Geometry implementation on top of three-mesh-bvh. More than 100 times faster than other BSP-based three.js CSG libraries in complex cases. Contributions welcome! Note All brush geometry must be two-manifold - or water tight with no triangle interpenetration. Warning Due to numerical precision and corner cases resulting geometry may not be correctly completely two-manifold. See projects like Manifold CAD for CAD operations with more robust numercial solutions. Roadmap / Help Wanted - Fix triangle splitting / missing triangle issues #73 #68 - Polygon splitting & triangulation #51 - Worker Support #14 And more! Examples Simple CSG Complex Model CSG Hollow Operations Multi Material CSG Multi Operation CSG Hierarchical Operations Use API Constants CSGOperations CSG operations enums for use with Evaluator . Brush extends THREE.Mesh An object with the same interface as THREE.Mesh but used to evaluate CSG operations. Once a brush is created the geometry should not be modified. Note It is recommended to remove groups from a geometry before creating a brush if multi-material support is not required. Operation extends Brush This is an extension of the Brush class. With this class is possible to create a mesh and pass the CSG Operation constant to define which operation computes on the mesh. The result is a Mesh whose effect is defined from the operation selected. You can see how it","default_branch":null,"files":null,"tree":[],"storefront":"/r/gkjohnson","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gkjohnson/three-bvh-csg/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}