From: Ian Jackson Date: Thu, 19 Oct 2023 14:49:04 +0000 (+0100) Subject: digispark-with-cable: midbot_registrations X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=commitdiff_plain;h=1decc44cd39f0815cf4caa335b501f83c47cdf4d digispark-with-cable: midbot_registrations Signed-off-by: Ian Jackson --- diff --git a/digispark-with-cable.scad b/digispark-with-cable.scad index 9097a13..a9a3a11 100644 --- a/digispark-with-cable.scad +++ b/digispark-with-cable.scad @@ -91,6 +91,7 @@ cover_registration_c_dy = -cover_strap_c_d_y - strap_w/2 - side_wall_th - cover_registration_sz_y/2; midbot_registration_sz_y = cover_registration_sz_y; +midbot_registration_sz_z = cover_registration_sz_z; midbot_registration_y_min = total_y_min + side_wall_th*2; midbot_registration_y_max = midbot_registration_y_min + midbot_registration_sz_y; @@ -172,6 +173,12 @@ module MiddleMainWallsPlan() { [ +board_w/2 + side_wall_th, total_y_min ]); } +module RegistrationsMinkowski(){ + minkowski(){ + cube([ 1, fit_gap_y*2, fit_gap_z*2 ], center=true); + children(); + } +} module CoverRegistrations(){ linextr_y_xz(cover_registration_c_dy - strap_w/2, cover_registration_c_dy + strap_w/2) { @@ -186,6 +193,16 @@ module CoverRegistrations(){ } } } +module MidBotRegistrations(){ + linextr_y_xz(midbot_registration_y_min, + midbot_registration_y_max) { + BothSides(){ + rectfromto([ midbot_registration_bottom_x, middle_base_z + 0.1 ], + [ middle_side_wall_x, middle_base_z + - midbot_registration_sz_z ]); + } + } +} module Middle(){ ////toplevel difference(){ @@ -200,6 +217,7 @@ module Middle(){ ////toplevel linextr(cover_wall_bot_z, middle_top_z) rectfromto([ -(board_w/2 + 0.1), total_y_min ], [ -total_side_wall_x, main_y_min - fit_gap_y ]); + MidBotRegistrations(); } for (y_c = [strain_0_y_c, strain_1_y_c]) { @@ -259,10 +277,10 @@ module Bottom(){ ////toplevel } } } - minkowski(){ + RegistrationsMinkowski() CoverRegistrations(); - cube([ 1, fit_gap_y*2, fit_gap_z*2 ], center=true); - } + RegistrationsMinkowski() + MidBotRegistrations(); BottomStrapCutouts(-cover_strap_c_d_y); } }