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

index fdd879ad6c022d78d71ed7ee0d8ecdf081d3e0b8..4c653cc43b43f22918966bc49e3605e669b890dc 100644 (file)
 //  this case will meet your needs.
 
 include <utils.scad>
+include <funcs.scad>
 
 phone = [ 75.0, 145.0 ];
 
@@ -167,7 +168,7 @@ noisecancelmic_dia = 4.00;
 //fingerpushhole_dias = [ 15, 18 ];
 fingerpushhole_dias = [];
 
-lanyard_half_dia = 1.0;
+lanyard_half_dia = 1.15;
 
 rearspeaker_pos_bl = [ 12.64, 18.72 ];
 rearspeaker_size   = [  3.76,  7.36 ];
@@ -1547,6 +1548,9 @@ module DemoProfiles(){ ////toplevel
   %EdgeProfile();
   KeeperProfile();
   translate([0,0,-1]) color("black") KeeperProfile(1);
+  translate(epp2i)
+    rotate(atan2vector(epp2i - epp1))
+    translate(lanyard_half_dia * 0.5 * [-3,-1])
   color("purple") LanyardLanyardProfile();
 
   translate([20,0]) {