X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=digispark-with-cable.scad;h=e6d3d7014966f32aa765b476ce1f1cda0dd01874;hb=6e128e7539f11002bfb9b1c8c6b1dd059a29c2d2;hp=d3cf05fa4affa8b2bdc3134f9dad940c661803f8;hpb=52978972ccff853fae6c2f856439c382e71d8df4;p=reprap-play.git diff --git a/digispark-with-cable.scad b/digispark-with-cable.scad index d3cf05f..e6d3d70 100644 --- a/digispark-with-cable.scad +++ b/digispark-with-cable.scad @@ -90,15 +90,7 @@ module BothSides(){ } } } -module StrapCutouts(y_c, z_top, top_sz_x){ - BothSides(){ - translate([ -total_side_wall_x, y_c, z_top ]) - cube([ top_sz_x*2, - strap_w, - cover_strap_cutout_z*2 ], - center=true); - } -} + module BottomStrapCutouts(y_c){ BothSides(){ translate([ -total_side_wall_x, y_c, bottom_base_z ]) @@ -109,9 +101,14 @@ module BottomStrapCutouts(y_c){ center=true); } } - module CoverStrapCutouts(){ - StrapCutouts( -cover_strap_c_d_y, cover_top_z, cover_strap_sz_x ); + BothSides(){ + translate([ -total_side_wall_x, -cover_strap_c_d_y, cover_top_z ]) + cube([ cover_strap_sz_x*2, + strap_w, + cover_strap_cutout_z*2 ], + center=true); + } } module FrontWallsPlan(slop) {