X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=sleepphone-cable-box.scad;h=7a678b7cd90660fa3a202876fc9c7c9d1824a30b;hb=b9294866b775e2e1cf938a52d9af54091b860b11;hp=40fe4cc20da32a79b5472143164092f7ed723a96;hpb=6c0c5dfaf0d6e43e9b8e83de45f43ada3672d3b4;p=reprap-play.git diff --git a/sleepphone-cable-box.scad b/sleepphone-cable-box.scad index 40fe4cc..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(); } } @@ -107,7 +110,7 @@ module PlugKeeperStalkProfile(){ hull(){ for (m=[0,1]) mirror([0,m,0]) PlugKeeperProfileHalf(); translate([ plugkeeper_x_maxw + keeper_stalk_len, 0,0 ]) - square([ 0.1, keeper_stalk_basewidth/2 ], center=true); + square([ 0.1, keeper_stalk_basewidth ], center=true); } } @@ -145,6 +148,7 @@ module Box(){ PlugKeeper(); } -//MainProfileInner(); +//MainProfileInnerHalf(); +//MainProfile(); Box();