From 2d5ce3b1919522d9af7dd3f5809370c8702cd681 Mon Sep 17 00:00:00 2001 From: RonaldoCMP Date: Thu, 14 Oct 2021 12:37:48 -0300 Subject: [PATCH] Update geometry.scad --- geometry.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geometry.scad b/geometry.scad index 1a58aaf..c1e35b5 100644 --- a/geometry.scad +++ b/geometry.scad @@ -1680,7 +1680,7 @@ function polygon_triangulate(poly, ind, eps=EPSILON) = let( ind = deduplicate_indexed(poly, ind, eps) ) - assert(len(ind)>=3 , "The polygon vertices are collinear.") + len(ind)<3 ? [] : let( pts = select(poly,ind), nrm = polygon_normal(pts)