chiark / gitweb /
sleepphone-cable-box: from v2, adjust
[reprap-play.git] / sleepphone-cable-box.scad
index 27e851a9222a35485c23ea91a03cfdc8ba197ceb..b2f09142c63a27e770de6cd4cc855f28efc3f531 100644 (file)
@@ -5,7 +5,7 @@ include <funcs.scad>
 wall = 0.75 * [1,1,1];
 wall_bot = 1.0;
 
-phone = [ 76.40, 30.96, 6.00 ]; // includes socket
+phone = [ 76.40 - 2.00, 30.96, 6.00 ]; // includes socket
 phone_button_z = 6.58;
 minwall = 0.50;
 
@@ -165,7 +165,8 @@ module Box(){
 module BoxPrint(){
   // This makes' Cura's support more optimal: specifically,
   // it then doesn't seem to touch the back (bottom) wall
-  rotate([0,90,0])
+  translate([0,0,phone[0]])
+    rotate([0,90,0])
     Box();
 }