From 0297623063f403302f51df981ab34b08bf2dd487 Mon Sep 17 00:00:00 2001 From: Adrian Mariano Date: Sun, 18 Feb 2024 10:21:27 -0500 Subject: [PATCH] fix path_sweep bug where it fails on paths with a "not a region" error --- rounding.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rounding.scad b/rounding.scad index cc1bb4b..f4c68cb 100644 --- a/rounding.scad +++ b/rounding.scad @@ -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(); }