chiark / gitweb /
fairphone-case: wip lanyard, introduce lanyard_entry_rel_breadth (nfc)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 18 Mar 2018 15:26:24 +0000 (15:26 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 18 Mar 2018 15:26:24 +0000 (15:26 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
fairphone-case.scad

index d87bdc2..1348606 100644 (file)
@@ -169,7 +169,7 @@ noisecancelmic_dia = 4.00;
 fingerpushhole_dias = [];
 
 lanyard_half_dia = 1.15;
-
+lanyard_entry_rel_breadth = 2;
 rearspeaker_pos_bl = [ 12.64, 18.72 ];
 rearspeaker_size   = [  3.76,  7.36 ];
 
@@ -528,7 +528,7 @@ module EdgeProfile(){
 
 module LanyardLanyardProfile(entry=false){
   hull(){
-    for (xs=[-1,+1] * (entry ? 2 : 1))
+    for (xs=[-1,+1] * (entry ? lanyard_entry_rel_breadth : 1))
       translate(xs * 0.5 * lanyard_half_dia * [1,0])
        circle(r= lanyard_half_dia/2);
   }