chiark / gitweb /
toolbox-inserts: Cover screw ends
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 25 Apr 2025 15:57:22 +0000 (16:57 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 25 Apr 2025 15:57:22 +0000 (16:57 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
toolbox-inserts.scad

index 093069bffa3d03866ae65ac5a54ca8175fc4478d..843cc987258d28f83121eb4b07b5e00099e1128f 100644 (file)
@@ -24,9 +24,10 @@ fixing_hole_d = fixing_nom_d + 0.375;
 fixing_demo_nom_len = 6;
 
 fixing_receptacle_d = 4 + 2.5 + 2.5;
+fixing_surround_ceil = 0.4;
 
 well_surround_wall = 2.5;
-well_stiffening_height = 5;
+well_stiffening_height_min = 5;
 
 plate_unholed_edge_w = 3;
 plate_mid_gap = 0.5;
@@ -46,6 +47,11 @@ wall_top_inner_bevel_ratio = 0.25; // OLD (for bevels, which we don't do)
 
 fixing_head_top_z = -below_plane_z + fixing_head_th;
 
+well_stiffening_height = max(
+  well_stiffening_height_min,
+  fixing_depth + fixing_surround_ceil
+);
+
 module DriverHandlePositive() { ////toplevel
   linextr_x_yz(0, driver_handle_total_l)
     circle(r = driver_handle_shaft_d/2);
@@ -72,7 +78,7 @@ module AtFixingPositions(screws) {
 }
 
 module FixingSurround() {
-  linextr(0, $fixing_depth - 0.1)
+  linextr(0, $fixing_depth + fixing_surround_ceil)
     circle(r= fixing_receptacle_d/2);
 }