chiark / gitweb /
sleepphone-cable-box: introduce wall_bot, nfc
[reprap-play.git] / sleepphone-cable-box.scad
index 385b678dbf368c08e7c11795d267a28f78548eb7..7a678b7cd90660fa3a202876fc9c7c9d1824a30b 100644 (file)
@@ -3,6 +3,8 @@
 include <funcs.scad>
 
 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();
        }
       }