chiark / gitweb /
fairphone-case: tidy up catch: Convert to thumbrecess_width.
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 31 Mar 2019 10:37:35 +0000 (11:37 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 31 Mar 2019 10:37:35 +0000 (11:37 +0100)
NFC

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
fairphone-case.scad

index a9d0423..6f6a099 100644 (file)
@@ -253,13 +253,12 @@ hinge_r_arms_gap = 0.55;
 rearspeaker_gap    = [ 2.0, 2.0 ]; // each side
 
 thumbrecess_depth = 1.3;
+thumbrecess_width = 16.5;
 
 catch_slop = -0.75;
 
 catch_len = 4.5;
-catch_width = 15;
 catch_thickness = 1.3;
-catch_side_gap = 0.75; // each side
 
 catch_depth = 0.75;
 catch_height = 0.35;
@@ -965,8 +964,7 @@ module HingePortion(x0,x1){
 }
 
 module CatchPortion(ztop){
-  xwidth = catch_side_gap*2;
-  width = catch_width + xwidth;
+  width = thumbrecess_width;
   w = width + catch_topcurve_r*2 + 1;
   translate([phone_width/2, 0,0]){
     difference(){