From dded1894fb760b9efeba26800532af6be044d4a0 Mon Sep 17 00:00:00 2001 From: Adrian Mariano Date: Sun, 7 Sep 2025 23:16:53 -0400 Subject: [PATCH] fix $fn bug in offset_stroke "round" --- rounding.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rounding.scad b/rounding.scad index 8e96031..156c720 100644 --- a/rounding.scad +++ b/rounding.scad @@ -1236,7 +1236,7 @@ function _stroke_end(width,left, right, spec) = normal_dir = unit(normal_seg[1]-normal_seg[0]), width_dir = sign(width[0]-width[1]) ) - type == "round"? [arc(points=[right[0],normal_pt,left[0]],n=ceil(segs(width/2)/2)),1,1] : + type == "round"? [arc(points=[right[0],normal_pt,left[0]],n=1+ceil(segs(width/2)/2)),1,1] : type == "pointed"? [[normal_pt],0,0] : type == "shifted_point"? ( let(shiftedcenter = center + width_dir * parallel_dir * struct_val(spec, "loc"))