chiark / gitweb /
toolbox-inserts: RatchetHandle, break out ratchet_handle_grip_end_x
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 9 May 2025 16:34:14 +0000 (17:34 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 9 May 2025 16:34:31 +0000 (17:34 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
toolbox-inserts.scad

index 21835645a5319fbb40211b8158694f9c8c4755b5..263c84a7396c56939f7626f1fbbd89a12546f7d9 100644 (file)
@@ -52,7 +52,9 @@ driver_handle_handle_front_l = 20;
 
 ratchet_handle_head_end_x = -87.0 + 0.5; // head, most distant end
 ratchet_handle_head_d0 = 26.5; // diam of nominal circle (width laid down)
+ratchet_handle_grip_end_x = 63.1 + 0.5; // far end of handle
 ratchet_handle_grip_end_h = 23.5; // height of handle at far end (width l.d.)
+// many other parameters hardcoded in RatchetHandlePositive
 
 $fs = 0.1;
 $fa = 3;
@@ -379,7 +381,7 @@ module RatchetHandlePositive() { ////toplevel
       oval([ 21.8, 18.1 ]/2);
 
     // tall oval at far end
-    translate([63.1 + 0.5, 0,0])
+    translate([ratchet_handle_grip_end_x, 0,0])
       linextr_x_yz(-0.1, 0)
       rotate(90)
       oval([ ratchet_handle_grip_end_h, 16.8 ]/2);