chiark / gitweb /
digispark-with-cable: midbot_registration wip
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 19 Oct 2023 14:30:13 +0000 (15:30 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 26 Oct 2023 17:10:37 +0000 (18:10 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
digispark-with-cable.scad

index 14e9bbda2e41520e60e52e4c2485dc9d7819a163..9097a1371d8d9e11a3dc4dd3202fd14f19d7e359 100644 (file)
@@ -50,6 +50,7 @@ strain_groove_w = 3;
 cover_strap_c_d_y = 5.5; // from front of board
 cover_registration_sz_y = 2;
 cover_registration_sz_z = 3;
+midbot_registraton_sz_x = 3;
 
 cable_space_z = 6;
 cable_dia = 5;
@@ -95,6 +96,7 @@ midbot_registration_y_max = midbot_registration_y_min
   + midbot_registration_sz_y;
 midbot_registration_y_around_max = midbot_registration_y_max
   + side_wall_th*2;
+midbot_registration_bottom_x = board_w/2 - midbot_registraton_sz_x;
 
 module BothSides(){
   for (m=[0,1]) {
@@ -236,11 +238,17 @@ module Bottom(){ ////toplevel
        BottomMainElevation();
     }
 
-    linextr_y_xz(total_y_min + side_wall_th,
+    linextr_y_xz(midbot_registration_y_around_max,
                 front_y_max - side_wall_th)
       rectfromto([ -board_w/2, bottom_base_z + bottom_floor_th ],
                 [ +board_w/2, 20         ]);
 
+    linextr_y_xz(total_y_min + side_wall_th,
+                front_y_max - side_wall_th)
+      rectfromto([ -midbot_registration_bottom_x,
+                    bottom_base_z + bottom_floor_th ],
+                [ +midbot_registration_bottom_x, 20         ]);
+
     linextr_y_xz(total_y_min - 1,
                 total_y_min + side_wall_th + 1){
       translate([ 0, middle_base_z ]){