mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-01 09:49:45 +00:00
Fix for issue #82
This commit is contained in:
parent
c8724004b5
commit
e8254cec7d
1 changed files with 1 additions and 0 deletions
|
@ -1012,6 +1012,7 @@ function offset(
|
||||||
flip_faces=false
|
flip_faces=false
|
||||||
) =
|
) =
|
||||||
is_region(path)? (
|
is_region(path)? (
|
||||||
|
assert(!return_faces, "return_faces not supported for regions.")
|
||||||
let(
|
let(
|
||||||
path = [for (p=path) polygon_clockwise(p)? p : reverse(p)],
|
path = [for (p=path) polygon_clockwise(p)? p : reverse(p)],
|
||||||
rgn = exclusive_or([for (p = path) [p]]),
|
rgn = exclusive_or([for (p = path) [p]]),
|
||||||
|
|
Loading…
Reference in a new issue