From: Ian Jackson Date: Tue, 17 Oct 2023 21:45:20 +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=537e1d82530c7e608532f69d5b4b30e650d89755 digispark-with-cable: wip progress Signed-off-by: Ian Jackson --- diff --git a/digispark-with-cable.scad b/digispark-with-cable.scad index 3c9169d..c29b2fa 100644 --- a/digispark-with-cable.scad +++ b/digispark-with-cable.scad @@ -55,10 +55,11 @@ side_x_gap = 0.5; cover_ceil_th = 0.9; +cover_strap_sz_x = side_wall_th * 3.5; + // calculated strap_w = strain_w; -strap_cutout_x = side_wall_th * 2; strap_cutout_z = side_wall_th; top_top_z = usb_wall_h; @@ -89,11 +90,11 @@ module BothSides(){ } } } -module StrapCutouts(y_c, z_top){ +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([ strap_cutout_x*2, + cube([ top_sz_x*2, strap_w, strap_cutout_z*2 ], center=true); @@ -103,7 +104,7 @@ module StrapCutouts(y_c, z_top){ } module CoverStrapCutouts(){ - StrapCutouts( -cover_strap_c_d_y, cover_top_z ); + StrapCutouts( -cover_strap_c_d_y, cover_top_z, cover_strap_sz_x ); } module FrontWallsPlan(slop) {