Convex hull of point list in OpenSCAD

Convex hull of point list in OpenSCAD

thingiverse

Sometimes it might be convenient to make a convex hull of a list of points rather than of a geometric object (though one could always approximate this using `hull()` and a union of tiny cubes). This library provides a `pointHull(points)` module which draws a convex hull of the specified point list. This lets one generate convex solids simply by specifying the coordinates of the vertices. For instance, you can draw an octahedron with: pointHull([[10,0,0],[-10,0,0],[0,10,0],[0,-10,0],[0,0,10],[0,0,-10]]); The code is for OpenSCAD 2019.05, and so the Thingiverse customizer probably is unlikely to work until it's updated. The code is far from optimized. It also works in 2D, though is probably less useful there. **June 17, 2019:** Major optimization: about 30 times faster for 1000 points.

Download Model from thingiverse

With this file you will be able to print Convex hull of point list in OpenSCAD with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Convex hull of point list in OpenSCAD.