Convex hull of point list in OpenSCAD
thingiverse
Sometimes making a convex hull of a list of points can be more convenient than creating one from a geometric object. While it's always possible to approximate this using `hull()` and a union of tiny cubes, the pointHull module provides an efficient way to draw a convex hull directly from the specified point list. This allows users to generate convex solids simply by specifying the coordinates of the vertices. For example, drawing an octahedron can be done with: pointHull([[10,0,0],[-10,0,0],[0,10,0],[0,-10,0],[0,0,10],[0,0,-10]]); This code is designed for OpenSCAD 2019.05 and may not work with the Thingiverse customizer until it's updated. The code is far from optimized but still works in 2D, though its usefulness is likely lower in that case. **June 17, 2019:** Significant optimization was made, resulting in a speed boost of about 30 times for 1000 points.
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.