fixed arc point count

This commit is contained in:
Adrian Mariano 2021-01-05 23:37:00 -05:00
parent d097be435b
commit 1614c235e1

View file

@ -329,7 +329,7 @@ function _circlecorner(points, parm) =
start = points[1]+prev*d,
end = points[1]+next*d
) // 90-angle is half the angle of the circular arc
arc(max(3,(90-angle)/180*segs(r)), cp=center, points=[start,end]);
arc(max(3,ceil((90-angle)/180*segs(r))), cp=center, points=[start,end]);
// Used by offset_sweep and convex_offset_extrude: