mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 00:09:41 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue