From b9294866b775e2e1cf938a52d9af54091b860b11 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 10 Sep 2018 22:27:06 +0100 Subject: [PATCH] sleepphone-cable-box: introduce wall_bot, nfc Signed-off-by: Ian Jackson --- sleepphone-cable-box.scad | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sleepphone-cable-box.scad b/sleepphone-cable-box.scad index 385b678..7a678b7 100644 --- a/sleepphone-cable-box.scad +++ b/sleepphone-cable-box.scad @@ -3,6 +3,8 @@ include wall = 0.75 * [1,1,1]; +wall_bot = 0.75; + phone = [ 76.40, 30.96, 6.00 ]; // includes socket phone_button_z = 6.58; minwall = 0.50; @@ -70,7 +72,8 @@ module MainProfile(){ difference(){ for (m=[0,1]) mirror([m,0]) { minkowski(){ - square(2 * [wall[1], wall[2]], center=true); + translate([ -wall[1], -wall_bot ]) + square([ wall[1]*2, wall_bot + wall[2] ]); MainProfileInnerHalf(); } } -- 2.30.2