From d9a93b401ebf7f7d11f9a5aae4676301370d48e5 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Sun, 6 Mar 2022 22:50:47 +0800 Subject: [PATCH] refactor --- src/polyhedron_hull.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/polyhedron_hull.scad b/src/polyhedron_hull.scad index a7c42b7d..6e5690d7 100644 --- a/src/polyhedron_hull.scad +++ b/src/polyhedron_hull.scad @@ -15,7 +15,7 @@ module polyhedron_hull(points, polyhedron_abuse = false) { // It's workable only because `polyhedron` doesn't complain about mis-ordered faces. // It's fast but might be invalid in later versions. hull() - polyhedron(points, [[for(i = [0:len(points) - 1]) i]]); + polyhedron(points, [[each [0:len(points) - 1]]]); } else { vts_faces = _convex_hull3(points);