From ee3e2466bd99da87b2b3a677835ffcc3db6d418f Mon Sep 17 00:00:00 2001 From: Revar Desmera Date: Sun, 26 Mar 2023 17:35:58 -0700 Subject: [PATCH] Fix reorient() for CTR anchors on prismoid/trapezoid geometry. --- attachments.scad | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/attachments.scad b/attachments.scad index 846ed0e..af62c38 100644 --- a/attachments.scad +++ b/attachments.scad @@ -2031,10 +2031,7 @@ function reorient( orient = default(orient, UP), region = !is_undef(region)? region : !is_undef(path)? [path] : - undef - ) - (anchor==CENTER && spin==0 && orient==UP && p!=undef)? p : - let( + undef, geom = is_def(geom)? geom : attach_geom( size=size, size2=size2, shift=shift,