chiark / gitweb /
toolbox-inserts: wip plate edge
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 21 Apr 2025 17:48:26 +0000 (18:48 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 21 Apr 2025 18:11:46 +0000 (19:11 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
toolbox-inserts.scad

index 7a8cbb5b17a4220296e1d85bd0fbd6f0cba10106..cbaac465176c1461a4892ca1440aec046960e97d 100644 (file)
@@ -27,6 +27,8 @@ fixing_receptacle_d = 4 + 2.5 + 2.5;
 well_surround_wall = 2.5;
 well_stiffening_height = 5;
 
+plate_unholed_edge_w = 3;
+
 driver_handle_shaft_l = 68.2 + 0.75;
 driver_handle_total_l = 152.8 + 0.75;
 driver_handle_shaft_d = 8.3 + 0.75;
@@ -196,14 +198,22 @@ module FullPlate() { ////toplevel
       linextr(-20, 0) square(1000, center=true);
     }
 
-    for (xi=[-n_x : n_x])
-      for (yi=[-n_y : n_y + 1])
-       translate(fixing_pitch * [xi, yi - 0.5, 0]) {
-         linextr(-20, -below_plane_z + fixing_head_th)
-           circle(r = fixing_head_d/2);
-         linextr(-20, 20)
+    intersection(){
+      for (xi=[ for (xi = [-n_x : n_x ])
+               if (xi != 0)
+               xi ])
+       for (yi=[-n_y : n_y + 1])
+         translate(fixing_pitch * [xi, yi - 0.5, 0]) {
+           linextr(-20, -below_plane_z + fixing_head_th)
+             circle(r = fixing_head_d/2);
+           linextr(-20, 20)
            circle(r = fixing_nom_d/2);
-       }
+         }
+
+      linextr(-100, 100)
+       offset(r = -plate_unholed_edge_w)
+       BoxCavityModelMainPlan();
+    }
   }
 }