chiark / gitweb /
digispark-with-cable: midbot strap
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 19 Oct 2023 14:57:15 +0000 (15:57 +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 379a7e972bb2a7b226b3969dab16d2c3a4e57047..76b905b32eb2a244f9c9ccf1861719fbd6c283bc 100644 (file)
@@ -97,6 +97,8 @@ midbot_registration_y_around_max = midbot_registration_y_max
   + wall_th*2;
 midbot_registration_bottom_x = board_w/2 - midbot_registraton_sz_x;
 
+midbot_strap_c_y = 0.5 * (strain_0_y_c + strain_1_y_c);
+
 module BothSides(){
   for (m=[0,1]) {
     mirror([m,0,0]) {
@@ -120,7 +122,6 @@ module BottomStrapCutouts(y_c){
 }
 // XXXX check strap width
 // XXXX check cable diameter
-// XXXX need rear strap
 module CoverStrapCutouts(){
   BothSides(){
     translate([ -total_side_wall_x, -cover_strap_c_d_y, cover_top_z ])
@@ -228,6 +229,8 @@ module Middle(){ ////toplevel
       translate([0, middle_base_z])
       scale([1, strain_groove_d/strain_groove_w])
       circle(strain_groove_w/2, $fn = 8);
+    NormalStrapCutouts(midbot_strap_c_y,
+                      middle_top_z, 45);
   }
 }
 module MiddlePrint(){ ////toplevel
@@ -280,6 +283,7 @@ module Bottom(){ ////toplevel
     RegistrationsMinkowski()
       MidBotRegistrations();
     BottomStrapCutouts(-cover_strap_c_d_y);
+    BottomStrapCutouts(midbot_strap_c_y);
   }
 }