mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 00:09:41 +00:00
arc() bugfix
This commit is contained in:
parent
c2f5fa7352
commit
7da26d32cd
1 changed files with 1 additions and 1 deletions
|
@ -786,7 +786,7 @@ function arc(n, r, angle, d, cp, points, corner, width, thickness, start, wedge=
|
||||||
plane = [corner[2], corner[0], corner[1]],
|
plane = [corner[2], corner[0], corner[1]],
|
||||||
points2d = project_plane(plane, corner)
|
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)
|
assert(is_path(corner) && len(corner) == 3)
|
||||||
let(col = is_collinear(corner[0],corner[1],corner[2]))
|
let(col = is_collinear(corner[0],corner[1],corner[2]))
|
||||||
|
|
Loading…
Reference in a new issue