misc bugfixes

This commit is contained in:
Adrian Mariano
2021-10-06 21:53:46 -04:00
parent bb77faa0c9
commit 33484f2c4b
4 changed files with 12 additions and 10 deletions

View File

@@ -1105,7 +1105,7 @@ function sweep(shape, transforms, closed=false, caps, style="min_edge") =
assert(capsOK, "caps must be boolean or a list of two booleans")
assert(!closed || !caps, "Cannot make closed shape with caps")
is_region(shape)? let(
regions = split_nested_region(shape),
regions = region_parts(shape),
rtrans = reverse(transforms),
vnfs = [
for (rgn=regions) each [