chiark / gitweb /
fairphone-case: catch: introduce catch_close_slope (nfc)
[reprap-play.git] / fairphone-case.scad
index 3aaf61702b3b0547087ea2621bcff736d073a9ac..c7a0bd433684045b40308b94524805d3f1072d8f 100644 (file)
@@ -264,6 +264,7 @@ catch_height = 0.35;
 catch_finger_height = 1.5;
 catch_finger_depth = 2.5;
 catch_catch_slope = 0.25;
+catch_close_slope = 1.00;
 
 catch_topcurve_r = 5.0;
 
@@ -440,7 +441,7 @@ cppD = [ cppA[0], cppS[1] + catch_slop ];
 cppC = [ cppB[0], cppD[1] ];
 cppT = cppS + [1, -catch_catch_slope] * catch_depth;
 cppU = cppT + [0,-1] * catch_height;
-cppV = [ cppS[0], cppU[1] - catch_depth ];
+cppV = [ cppS[0], cppU[1] - catch_depth * catch_close_slope ];
 
 cppR = 0.5*(cppP + cppJ);
 
@@ -1767,8 +1768,9 @@ module DemoProfiles(){ ////toplevel
     %EdgeProfile();
     %LidEdgeProfile();
     //translate([0,0,1]) CatchCutProfile();
+    translate([0,0,+1]) color("red")
+      difference(){ EdgeProfile(); CatchCutProfile(); }
     color("blue") CatchCatchProfile();
-    color("red") difference(){ EdgeProfile(); CatchCutProfile(); }
   }
 
   translate([40,-30]) {