From 6d4f7ee360ad36b95c536c0820ba32aad83f7deb Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 9 May 2025 17:41:55 +0100 Subject: [PATCH] toolbox-inserts: RatchetHandle: crooked well, using shear Signed-off-by: Ian Jackson --- toolbox-inserts.scad | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/toolbox-inserts.scad b/toolbox-inserts.scad index 1dbd119..ae6ab5a 100644 --- a/toolbox-inserts.scad +++ b/toolbox-inserts.scad @@ -436,10 +436,11 @@ module RatchetHandleWell() { ////toplevel pivot_ratio = (ratchet_handle_grip_end_h - ratchet_handle_head_d0)/2 / (ratchet_handle_grip_end_x - ratchet_handle_head_end_x); - pivot_ang = atan(pivot_ratio); translate(pivot) - rotate([0, pivot_ang, 0]) + multmatrix([[ 1, 0, 0, 0 ], + [ 0, 1, 0, 0 ], + [ -pivot_ratio, 0, 1, 0 ]]) translate(-pivot) RatchetHandlePositive(); } -- 2.30.2