mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-07 14:36:39 +02:00
fix path_sweep bug where it fails on paths with a "not a region" error
This commit is contained in:
@@ -1653,7 +1653,7 @@ module offset_sweep(path, height,
|
|||||||
|
|
||||||
if (in_list(atype,["hull","intersect"])){
|
if (in_list(atype,["hull","intersect"])){
|
||||||
h=first_defined([h,l,height]);
|
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);
|
down(h/2)polyhedron(vnf[0],vnf[1],convexity=convexity);
|
||||||
children();
|
children();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user