From 4d9a1d36ac8ad4ad3a220f3d86f6af4164e1c09d Mon Sep 17 00:00:00 2001 From: RonaldoCMP Date: Wed, 13 Oct 2021 23:31:26 -0300 Subject: [PATCH] Update geometry.scad --- geometry.scad | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/geometry.scad b/geometry.scad index 54dc27c..6de43fa 100644 --- a/geometry.scad +++ b/geometry.scad @@ -1674,9 +1674,9 @@ function polygon_triangulate(poly, ind, eps=EPSILON) = ? // represents the polygon projection on its plane as a 2d polygon let( ind = deduplicate_indexed(poly, ind, eps) - ) - len(ind)<3 ? [] : - let( + ) + len(ind)<3 ? [] : + let( pts = select(poly,ind), nrm = polygon_normal(pts) )