chiark / gitweb /
fairphone-case: wip lanyard, more
[reprap-play.git] / fairphone-case.scad
index be955a5814ace4a44d2ff21c2ae03f8ed2ec8bc9..4a774a56b78778d396bab49d13cb5f71a99a0e6e 100644 (file)
@@ -1548,16 +1548,14 @@ module DemoProfiles(){ ////toplevel
   %EdgeProfile();
   KeeperProfile();
   translate([0,0,-1]) color("black") KeeperProfile(1);
   %EdgeProfile();
   KeeperProfile();
   translate([0,0,-1]) color("black") KeeperProfile(1);
-  translate(epp2i)
-    rotate(atan2vector(epp2i - epp1))
+  color("purple") translate(epp2i)
+    rotate(atan2vector(epp2i - epp1)) {
     translate(lanyard_half_dia * 0.5 * [-3,-1])
     translate(lanyard_half_dia * 0.5 * [-3,-1])
-    color("purple") LanyardLanyardProfile();
-  translate(epp2o
-           + [0,-1] * case_th_bottom
-           + [0,+1] * lanyard_half_dia * 0.5)
-    rotate(atan2vector(epp2i - epp1))
-    translate(lanyard_half_dia * 0.5 * [-2,0])
-    color("purple") LanyardLanyardProfile(true);
+      LanyardLanyardProfile();
+    translate(lanyard_half_dia * 0.5 * [-3,+1])
+      translate([0,-1] * case_th_side)
+      LanyardLanyardProfile(true);
+  }
 
   translate([20,0]) {
     LidEdgeProfile();
 
   translate([20,0]) {
     LidEdgeProfile();