Merge pull request #317 from revarbat/revarbat_dev

Bugfix for sweep() endcaps.
This commit is contained in:
Revar Desmera 2020-11-17 17:24:33 -08:00 committed by GitHub
commit 6060dae62d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -891,7 +891,7 @@ function sweep(shape, transforms, closed=false, caps) =
for (rgn=regions) each [ for (rgn=regions) each [
for (path=select(rgn,0,-1)) for (path=select(rgn,0,-1))
sweep(path, transforms, closed=closed, caps=false), sweep(path, transforms, closed=closed, caps=false),
if (fullcaps[0]) region_faces(rgn, reverse=true), if (fullcaps[0]) region_faces(rgn, transform=transforms[0], reverse=true),
if (fullcaps[1]) region_faces(rgn, transform=select(transforms,-1)), if (fullcaps[1]) region_faces(rgn, transform=select(transforms,-1)),
], ],
], ],

View file

@ -8,7 +8,7 @@
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
BOSL_VERSION = [2,0,468]; BOSL_VERSION = [2,0,469];
// Section: BOSL Library Version Functions // Section: BOSL Library Version Functions