chiark / gitweb /
fairphone-case: catch: introduce catch_close_slope (nfc)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 19 Sep 2018 20:44:42 +0000 (21:44 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 19 Sep 2018 20:44:42 +0000 (21:44 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
fairphone-case.scad

index ba710bd..c7a0bd4 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);