diff --git a/regions.scad b/regions.scad index f2e97e0..25a0bd7 100644 --- a/regions.scad +++ b/regions.scad @@ -647,7 +647,7 @@ function offset( maxstep=0.1, closed=false, check_valid=true, quality=1, return_faces=false, firstface_index=0, flip_faces=false -) = echo(path=path) +) = is_region(path)? ( assert(!return_faces, "return_faces not supported for regions.") let(