From 09313eb0303ea7838e2eadefd299129106e472c5 Mon Sep 17 00:00:00 2001 From: Adrian Mariano Date: Wed, 10 Sep 2025 20:45:19 -0400 Subject: [PATCH] fix extrusion attachment bug --- attachments.scad | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/attachments.scad b/attachments.scad index 67722ab0..1d5992be 100644 --- a/attachments.scad +++ b/attachments.scad @@ -4398,7 +4398,8 @@ function _find_anchor(anchor, geom)= shmat = move(lerp([0,0], shift, u)), scmat = scale(lerp([1,1], scale, u)), twmat = zrot(lerp(0, -twist, u)), - mat = shmat * scmat * twmat + mat = shmat * scmat * twmat, + cp=point2d(cp) ) approx(anchor_xy,[0,0]) ? [anchor, apply(mat, point3d(cp,anchor.z*L/2)), unit(anchor, UP), oang] : let(