arc() bugfix

This commit is contained in:
Adrian Mariano 2024-09-28 08:44:14 -04:00
parent c2f5fa7352
commit 7da26d32cd

View file

@ -786,7 +786,7 @@ function arc(n, r, angle, d, cp, points, corner, width, thickness, start, wedge=
plane = [corner[2], corner[0], corner[1]],
points2d = project_plane(plane, corner)
)
lift_plane(plane,arc(n,corner=points2d,wedge=wedge,long=long))
lift_plane(plane,arc(n,corner=points2d,wedge=wedge,r=r, d=d))
) :
assert(is_path(corner) && len(corner) == 3)
let(col = is_collinear(corner[0],corner[1],corner[2]))