From: Ian Jackson Date: Tue, 17 Oct 2023 21:54:18 +0000 (+0100) Subject: digispark-with-cable: wip progress X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=commitdiff_plain;h=52978972ccff853fae6c2f856439c382e71d8df4 digispark-with-cable: wip progress Signed-off-by: Ian Jackson --- diff --git a/digispark-with-cable.scad b/digispark-with-cable.scad index 151963a..d3cf05f 100644 --- a/digispark-with-cable.scad +++ b/digispark-with-cable.scad @@ -91,20 +91,22 @@ module BothSides(){ } } module StrapCutouts(y_c, z_top, top_sz_x){ - for (z = [ bottom_base_z, z_top ]) { BothSides(){ translate([ -total_side_wall_x, y_c, z_top ]) cube([ top_sz_x*2, strap_w, cover_strap_cutout_z*2 ], center=true); - translate([ -total_side_wall_x, y_c, bottom_base_z ]) - rotate([0, -45, 0]) - cube([ side_wall_th, - strap_w, - 10 ], - center=true); } +} +module BottomStrapCutouts(y_c){ + BothSides(){ + translate([ -total_side_wall_x, y_c, bottom_base_z ]) + rotate([0, -45, 0]) + cube([ side_wall_th, + strap_w, + 10 ], + center=true); } } @@ -233,7 +235,7 @@ module Bottom(){ ////toplevel CoverRegistrations(); cube([ 1, fit_gap_y*2, fit_gap_z*2 ], center=true); } - CoverStrapCutouts(); + BottomStrapCutouts(-cover_strap_c_d_y); } }