mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-01-16 13:50:23 +01:00
fix path_sweep bug where it fails on paths with a "not a region" error
This commit is contained in:
parent
4d3c12a22c
commit
0297623063
@ -1653,7 +1653,7 @@ module offset_sweep(path, height,
|
||||
|
||||
if (in_list(atype,["hull","intersect"])){
|
||||
h=first_defined([h,l,height]);
|
||||
attachable(anchor,spin,orient,region=[path],h=h,extent=atype=="hull",cp=cp){
|
||||
attachable(anchor,spin,orient,region=force_region(path),h=h,extent=atype=="hull",cp=cp){
|
||||
down(h/2)polyhedron(vnf[0],vnf[1],convexity=convexity);
|
||||
children();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user