chiark / gitweb /
sleepphone-cable-box: from v1, adjust wall_bot
[reprap-play.git] / sleepphone-cable-box.scad
index 7a678b7cd90660fa3a202876fc9c7c9d1824a30b..b5bae407f73d4f787b1091bde9728cdc1c6f94e5 100644 (file)
@@ -3,7 +3,7 @@
 include <funcs.scad>
 
 wall = 0.75 * [1,1,1];
-wall_bot = 0.75;
+wall_bot = 1.0;
 
 phone = [ 76.40, 30.96, 6.00 ]; // includes socket
 phone_button_z = 6.58;
@@ -35,6 +35,7 @@ keeper_prong = 2;
 keeper_stalk_basewidth = 4;
 keeper_stalk_len = 70;
 keeper_stalk_gap = 2;
+keeper_stalk_thick = wall_bot;
 
 // calculated
 
@@ -116,8 +117,8 @@ module PlugKeeperStalkProfile(){
 
 module PlugKeeper(){
   for (m=[0,1]) mirror([0,m,0]) {
-      translate([0,0, -wall[2]])
-       linear_extrude(height=plug_h + wall[2])
+      translate([0,0, -keeper_stalk_thick])
+       linear_extrude(height=plug_h + keeper_stalk_thick)
        PlugKeeperProfileHalf();
 
       translate([0, 0, plug_h - plug_tooth_h])
@@ -127,8 +128,8 @@ module PlugKeeper(){
 
     }
 
-  translate([0,0, -wall[2]])
-    linear_extrude(height = wall[2])
+  translate([0,0, -keeper_stalk_thick])
+    linear_extrude(height = keeper_stalk_thick)
     PlugKeeperStalkProfile();
 }