1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-13 18:24:28 +02:00
This commit is contained in:
Justin Lin
2020-10-05 14:20:02 +08:00
parent 7b3f228dca
commit baa2603b7d

View File

@@ -1,7 +1,6 @@
module polyhedron_hull(points) {
// a workaround from http://forum.openscad.org/missing-features-tc30187.html
hull() polyhedron(points, [[for(i=[0:len(points)-1]) i]]);
use <../__comm__/_convex_hull3.scad>;
// Will I implement Convex Hulls (3D)?
// https://www.cs.jhu.edu/~misha/Spring16/10.pdf
module polyhedron_hull(points) {
vts_faces = _convex_hull3(points);
polyhedron(vts_faces[0], vts_faces[1]);
}