mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-14 10:44:48 +02:00
refactor
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
module polyhedron_hull(points) {
|
use <../__comm__/_convex_hull3.scad>;
|
||||||
// a workaround from http://forum.openscad.org/missing-features-tc30187.html
|
|
||||||
hull() polyhedron(points, [[for(i=[0:len(points)-1]) i]]);
|
|
||||||
|
|
||||||
// Will I implement Convex Hulls (3D)?
|
module polyhedron_hull(points) {
|
||||||
// https://www.cs.jhu.edu/~misha/Spring16/10.pdf
|
vts_faces = _convex_hull3(points);
|
||||||
|
polyhedron(vts_faces[0], vts_faces[1]);
|
||||||
}
|
}
|
Reference in New Issue
Block a user