mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-09 05:36:46 +02:00
fixed arc point count
This commit is contained in:
@@ -329,7 +329,7 @@ function _circlecorner(points, parm) =
|
|||||||
start = points[1]+prev*d,
|
start = points[1]+prev*d,
|
||||||
end = points[1]+next*d
|
end = points[1]+next*d
|
||||||
) // 90-angle is half the angle of the circular arc
|
) // 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:
|
// Used by offset_sweep and convex_offset_extrude:
|
||||||
|
Reference in New Issue
Block a user