From: Ian Jackson Date: Tue, 17 Oct 2023 19:35:06 +0000 (+0100) Subject: digispark-with-cable: wip progress X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=e10bb14a1c10d56e4378fef9ee04b7778e740564;p=reprap-play.git digispark-with-cable: wip progress Signed-off-by: Ian Jackson --- diff --git a/digispark-with-cable.scad b/digispark-with-cable.scad index 95a1aa7..32d6542 100644 --- a/digispark-with-cable.scad +++ b/digispark-with-cable.scad @@ -46,6 +46,7 @@ cable_space_z = 6; bottom_floor_th = 1.5; fit_gap_z = 0.5; +side_x_gap = 0.5; // calculated @@ -63,6 +64,7 @@ bottom_wall_top_z = (top_top_z + top_base_z) * 0.5 - fit_gap_z/2; cover_wall_top_z = (top_top_z + top_base_z) * 0.5 + fit_gap_z/2; top_side_wall_x = +board_w/2 + side_wall_th; +total_side_wall_x = top_side_wall_x + side_wall_th + side_x_gap; module BothSides(){ for (m=[0,1]) { @@ -137,8 +139,13 @@ module Top(){ ////toplevel module BottomMainElevation(){ ////toplevel difference(){ - rectfromto([ -top_side_wall_x, bottom_base_z ], - [ +top_side_wall_x, top_base_z ]); + rectfromto([ -total_side_wall_x, bottom_base_z ], + [ +total_side_wall_x, bottom_wall_top_z ]); + + rectfromto([ -(top_side_wall_x + side_x_gap), top_base_z ], + [ +(top_side_wall_x + side_x_gap), 20 ]); + rectfromto([ -board_w/2, bottom_base_z + bottom_floor_th ], + [ +board_w/2, 20 ]); } } module Bottom(){ ////toplevel