Our great sponsors
-
three-mesh-bvh
A BVH implementation to speed up raycasting and enable spatial queries against three.js meshes.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
OpenJSCAD.org
JSCAD is an open source set of modular, browser and command line tools for creating parametric 2D and 3D designs with JavaScript code. It provides a quick, precise and reproducible method for generating 3D models, and is especially useful for 3D printing applications.
And it is based on threejs. Then I tie it up with other libraries. The core is open source on https://github.com/polygonjs/polygonjs, so you can see what each node uses.
the default one ( with the sop/boolean node ) uses https://github.com/gkjohnson/three-mesh-bvh, which is very stable already.
then there are 2 others, sop/CSGboolean and sop/CADboolean. CSGBoolean is indeed based on CSG, and uses jscad. And the CAD one (which I show in the video in this post) is based on opencascade, which is the most powerful/stable. Then the output of both of those nodes is converted to threejs in order to be displayed in webgl.