chiark / gitweb /
sleepphone-cable-box: wip, keeper stalk
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 9 Sep 2018 23:38:09 +0000 (00:38 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 9 Sep 2018 23:38:09 +0000 (00:38 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
sleepphone-cable-box.scad

index d422420967b9656e160dcba37bfe55456f047416..90964cabbc3471b4202ad73d724d83d614c0da72 100644 (file)
@@ -28,6 +28,8 @@ plug_tooth_h = 0.5;
 plug_tooth_dy = 0.5;
 
 keeper_prong = 2;
 plug_tooth_dy = 0.5;
 
 keeper_prong = 2;
+keeper_stalk_basewidth = 4;
+keeper_stalk_len = 70;
 
 // calculated
 
 
 // calculated
 
@@ -94,6 +96,14 @@ module PlugKeeperProfileHalf(){
   }
 }
 
   }
 }
 
+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);
+  }
+}
+
 module PlugKeeper(){
   for (m=[0,1]) mirror([0,m,0]) {
       translate([0,0, -wall[2]])
 module PlugKeeper(){
   for (m=[0,1]) mirror([0,m,0]) {
       translate([0,0, -wall[2]])
@@ -104,7 +114,9 @@ module PlugKeeper(){
        linear_extrude(height= plug_tooth_h)
        translate(plugkeeper_d_u * -plug_tooth_dy)
        PlugKeeperProfileHalf();
        linear_extrude(height= plug_tooth_h)
        translate(plugkeeper_d_u * -plug_tooth_dy)
        PlugKeeperProfileHalf();
+
     }
     }
+  %PlugKeeperStalkProfile();
 }
 
 module Box(){
 }
 
 module Box(){