chiark / gitweb /
fairphone-case: wip lanyard
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 18 Mar 2018 11:40:44 +0000 (11:40 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 18 Mar 2018 11:40:44 +0000 (11:40 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
fairphone-case.scad

index 38e1743..fdd879a 100644 (file)
@@ -167,6 +167,8 @@ noisecancelmic_dia = 4.00;
 //fingerpushhole_dias = [ 15, 18 ];
 fingerpushhole_dias = [];
 
+lanyard_half_dia = 1.0;
+
 rearspeaker_pos_bl = [ 12.64, 18.72 ];
 rearspeaker_size   = [  3.76,  7.36 ];
 
@@ -518,6 +520,14 @@ module EdgeProfile(){
   }
 }
 
+module LanyardLanyardProfile(){
+  hull(){
+    for (xs=[-1,+1])
+      translate(xs * 0.5 * lanyard_half_dia * [1,0])
+       circle(r= lanyard_half_dia/2);
+  }
+}
+
 module LidEdgeProfile(){
   polygon([ lpp10,
            lpp11,
@@ -1537,6 +1547,7 @@ module DemoProfiles(){ ////toplevel
   %EdgeProfile();
   KeeperProfile();
   translate([0,0,-1]) color("black") KeeperProfile(1);
+  color("purple") LanyardLanyardProfile();
 
   translate([20,0]) {
     LidEdgeProfile();