From 215770041463207b6ccae5e91c02aa96ca139b0b Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 18 Mar 2018 11:40:44 +0000 Subject: [PATCH] fairphone-case: wip lanyard Signed-off-by: Ian Jackson --- fairphone-case.scad | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/fairphone-case.scad b/fairphone-case.scad index 38e1743..fdd879a 100644 --- a/fairphone-case.scad +++ b/fairphone-case.scad @@ -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(); -- 2.30.2