mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-01 09:49:45 +00:00
handle $fn case for arc
This commit is contained in:
parent
b1a8056c51
commit
9f8e9b8ba2
1 changed files with 1 additions and 1 deletions
|
@ -381,7 +381,7 @@ function arc(N, r, angle, d, cp, points, width, thickness, start, wedge=false, l
|
|||
assert(is_bool(endpoint))
|
||||
!endpoint ? assert(!wedge, "endpoint cannot be false if wedge is true")
|
||||
slice(arc(N,r,angle,d,cp,points,width,thickness,start,wedge,long,cw,ccw,true),0,-2) :
|
||||
assert(is_integer(N), "Number of points must be an integer")
|
||||
assert(is_undef(N) || is_integer(N), "Number of points must be an integer")
|
||||
// First try for 2D arc specified by width and thickness
|
||||
is_def(width) && is_def(thickness)? (
|
||||
assert(!any_defined([r,cp,points]) && !any([cw,ccw,long]),"Conflicting or invalid parameters to arc")
|
||||
|
|
Loading…
Reference in a new issue