mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 16:29:40 +00:00
Allow zero-size rect() to allow prismoid() pyramids.
This commit is contained in:
parent
a6e60b5993
commit
0d6d5140bf
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ function rect(size=1, rounding=0, chamfer=0, atype="box", anchor=CENTER, spin=0,
|
|||
chamfer = force_list(chamfer,4),
|
||||
rounding = force_list(rounding,4)
|
||||
)
|
||||
assert(all_positive(size), "All components of size must be positive")
|
||||
assert(all_nonnegative(size), "All components of size must be >=0")
|
||||
all_zero(concat(chamfer,rounding),0) ?
|
||||
let(
|
||||
path = [
|
||||
|
|
Loading…
Reference in a new issue