From 072032227e78963c4dd23ffe7fc72b2245a7657b Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Wed, 24 May 2017 18:39:21 +0800 Subject: [PATCH] fixed end angle problem --- src/shape_pie.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shape_pie.scad b/src/shape_pie.scad index 15b67e4c..5d8b878f 100644 --- a/src/shape_pie.scad +++ b/src/shape_pie.scad @@ -33,6 +33,6 @@ function shape_pie(radius, angle) = let(a = a_step * i) __ra_to_xy(radius, a) ], - [__ra_to_xy(edge_r_end, angles[1])] + angles[1] == a_step * n ? [] : [__ra_to_xy(edge_r_end, angles[1])] ) ) shape_pts; \ No newline at end of file