From c7a0b78fe0b9c4cf04b39c112f5549f551b9ab35 Mon Sep 17 00:00:00 2001 From: Revar Desmera Date: Fri, 16 Aug 2019 02:18:25 -0700 Subject: [PATCH] Fixed syntax error in rounding.scad --- rounding.scad | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/rounding.scad b/rounding.scad index e95a04a..8b9bf11 100644 --- a/rounding.scad +++ b/rounding.scad @@ -306,7 +306,7 @@ function _smooth_bez_fill(points,k) = [ function _bezcorner(points, parm) = let( - P = is_list(parm)? ( + P = is_list(parm)? let( d = parm[0], k = parm[1], @@ -318,11 +318,8 @@ function _bezcorner(points, parm) = points[1], points[1]+k*d*next, points[1]+d*next - ] - ) : ( - _smooth_bez_fill(points,parm), - N = max(3,$fn>0 ?$fn : ceil(bezier_segment_length(P)/$fs)) - ) + ] : _smooth_bez_fill(points,parm), + N = max(3,$fn>0 ?$fn : ceil(bezier_segment_length(P)/$fs)) ) bezier_curve(P,N);