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

index ac29e5dd58f1e10c943b498b1145fd0ce83096c6..df375b07fdde48b1b7652abfeb07845deb5ec4a9 100644 (file)
@@ -50,6 +50,8 @@ driver_handle_handle_d = 24.3 + 0.50;
 driver_handle_handle_rear_d = 21.7 / cos(30) + 0.50;
 driver_handle_handle_front_l = 20;
 
+ratchet_handle_head_d0 = 26.5; // diam of nominal circle (width laid down)
+
 $fs = 0.1;
 $fa = 3;
 $screw_test = false;
@@ -67,6 +69,8 @@ well_stiffening_height = max(
   fixing_depth + fixing_surround_ceil
 );
 
+ratchet_handle_nom_depth = ratchet_handle_head_d0;
+
 //==================== models - general ====================
 
 //---------- fixings (general) ----------
@@ -356,11 +360,11 @@ module RatchetHandlePositive() { ////toplevel
   xhe = -87.0 + 0.5;    // head, most distant end
   xh1 = -40.0;          // head, near end (where it meets shaft)
   head_y = 12.1 + 0.5;  // head, thickness
-  head_d0 = 26.5;       // head, diameter of nominal circle (width laid down)
   xg1 = 14.0;           // grip, widest point (near inner end of grip)
 
-  // calculated
+  // calculated (and aliases)
   head_xmid = (xh1 + xhe)/2;
+  head_d0 = ratchet_handle_head_d0;
 
   // grip, main part
   hull(){
@@ -411,6 +415,13 @@ module RatchetHandlePositive() { ////toplevel
     circle(r = 8.3 /2);
 }
 
+module RatchetHandleHolder() { ////toplevel
+  WellSurround(ratchet_handle_nom_depth/2, [
+  ], [
+  ], offset=[-5, 0])
+    RatchetHandlePositive();
+}
+
 //==================== tests and demos ====================
 
 module TestPlatesPrint() { ////toplevel