From: Ian Jackson Date: Thu, 19 Oct 2023 11:36:12 +0000 (+0100) Subject: digispark-with-cable: midbot_registration wrong X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=commitdiff_plain;h=953920f31b7a13658f3dd428523c4bedfdf83aaa digispark-with-cable: midbot_registration wrong Signed-off-by: Ian Jackson --- diff --git a/digispark-with-cable.scad b/digispark-with-cable.scad index 14e9bbd..c294ec0 100644 --- a/digispark-with-cable.scad +++ b/digispark-with-cable.scad @@ -229,11 +229,22 @@ module BottomMainElevation(){ MiddleElevationForCutout(); } } +module BottomByRegistrationElevation(){ + difference(){ + rectfromto([ -total_side_wall_x, bottom_base_z ], + [ +total_side_wall_x, bottom_wall_top_z ]); + MiddleElevationForCutout(); + } +} module Bottom(){ ////toplevel difference(){ union(){ linextr_y_xz(total_y_min, front_y_max) BottomMainElevation(); + + linextr_y_xz(total_y_min, + midbot_registration_y_around_max) + BottomByRegistrationElevation(); } linextr_y_xz(total_y_min + side_wall_th, @@ -251,6 +262,7 @@ module Bottom(){ ////toplevel } } } + minkowski(){ CoverRegistrations(); cube([ 1, fit_gap_y*2, fit_gap_z*2 ], center=true);