chiark / gitweb /
sleepphone-cable-box: sidewall cutouts
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 11 Sep 2018 07:31:52 +0000 (08:31 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 11 Sep 2018 07:31:52 +0000 (08:31 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
sleepphone-cable-box.scad

index 71534bd..b348d6b 100644 (file)
@@ -139,6 +139,8 @@ module PlugKeeper(){
 }
 
 module Box(){
+  sidewall_cutout_z = phone[2] + phone_slop[2] + button_dz_outer;
+
   difference(){
     BoxMain();
 
@@ -155,6 +157,11 @@ module Box(){
                  ys * (cutout_between/2 + cutout_dia/2),
                  -10 ])
        cylinder( r= cutout_dia/2, h = 50, $fn = 20 );
+
+      translate([0, ys*phone[1]/2, sidewall_cutout_z/2])
+       rotate([90,0,0])
+       translate([0,0,-3])
+       cylinder( r= sidewall_cutout_z/2 - 0.1, h=6 , $fn=20 );
     }
   }