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

index 4a774a56b78778d396bab49d13cb5f71a99a0e6e..bc0cef0062460d5c596fed1c65c6c4d6709b1c17 100644 (file)
@@ -446,6 +446,10 @@ cppQ = [ cppR[0],
         cppV[1] - (catch_finger_height - cp_rQ) ];
 cppF = [ cppV[0] + catch_finger_depth, cppC[1] ];
 
+// lanyard
+
+ly_r = lanyard_half_dia / 2;
+
 // prop recess in case
 
 prop_x_pos = phone_width/2;
@@ -529,6 +533,17 @@ module LanyardLanyardProfile(entry=false){
   }
 }
 
+module LanyardMainChannelProfile(){
+  translate([0, -ly_r])
+    LanyardLanyardProfile();
+  difference(){
+    square(center=true, ly_r * [6, 2]);
+    for (xs=[-1,+1])
+      translate(ly_r * [3 * xs, -1])
+       circle(r = ly_r);
+  }
+}
+
 module LidEdgeProfile(){
   polygon([ lpp10,
            lpp11,
@@ -1557,6 +1572,10 @@ module DemoProfiles(){ ////toplevel
       LanyardLanyardProfile(true);
   }
 
+  translate([0,20]) {
+    LanyardMainChannelProfile();
+  }
+
   translate([20,0]) {
     LidEdgeProfile();
     %EdgeProfile();