From 3f8a57b5542c0babba0f3236c25888251ae49fa5 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 19 Oct 2023 15:30:13 +0100 Subject: [PATCH] digispark-with-cable: midbot_registration wip Signed-off-by: Ian Jackson --- digispark-with-cable.scad | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/digispark-with-cable.scad b/digispark-with-cable.scad index 14e9bbd..9097a13 100644 --- a/digispark-with-cable.scad +++ b/digispark-with-cable.scad @@ -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 ]){ -- 2.30.2