From 2f7cb1e51c01b02e0860c1a8a695623751943ec2 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 10 Sep 2018 22:12:43 +0100 Subject: [PATCH] sleepphone-cable-box: refactor, nfc Signed-off-by: Ian Jackson --- sleepphone-cable-box.scad | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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(){ -- 2.30.2