From: Ian Jackson Date: Mon, 10 Sep 2018 21:12:43 +0000 (+0100) Subject: sleepphone-cable-box: refactor, nfc X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=2f7cb1e51c01b02e0860c1a8a695623751943ec2;p=reprap-play.git sleepphone-cable-box: refactor, nfc Signed-off-by: Ian Jackson --- diff --git a/sleepphone-cable-box.scad b/sleepphone-cable-box.scad index 0d170e8..60b34cd 100644 --- a/sleepphone-cable-box.scad +++ b/sleepphone-cable-box.scad @@ -67,13 +67,15 @@ module MainProfileInnerHalf(){ module MainProfile(){ p = phone + phone_slop; - for (m=[0,1]) mirror([m,0]) { - difference(){ + difference(){ + for (m=[0,1]) mirror([m,0]) { translate([-1, -wall[2] ]) square([ p[1]/2 + wall[1] + 1, top_z + wall[2] ]); + } + for (m=[0,1]) mirror([m,0]) { MainProfileInnerHalf(); } - } + } } module BoxMain(){