chiark / gitweb /
fairphone-case: tidy up catch: Rename some modules
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 31 Mar 2019 10:40:21 +0000 (11:40 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 31 Mar 2019 10:40:21 +0000 (11:40 +0100)
NFC

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

index f0b1046..7945826 100644 (file)
@@ -718,7 +718,7 @@ module ButtonCoverReinf(){ ////toplevel
   }
 }
 
-module CatchCutProfile(){
+module ThumbRecessCutProfile(){
   difference(){
     polygon([ cppA + [-10,0],
              cppB + [-10,0],
@@ -950,7 +950,7 @@ module HingePortion(x0,x1){
     children();
 }
 
-module CatchPortion(ztop){
+module ThumbRecessApply(ztop){
   width = thumbrecess_width;
   w = width + thumbrecess_topcurve_r*2 + 1;
   translate([phone_width/2, 0,0]){
@@ -1172,8 +1172,8 @@ module Case(){ ////toplevel
     HingeScrews();
 
     // catch striker
-    CatchPortion(epp4[1])
-      CatchCutProfile();
+    ThumbRecessApply(epp4[1])
+      ThumbRecessCutProfile();
 
     // lanyard
     Flip_bot(1)
@@ -1720,9 +1720,9 @@ module DemoProfiles(){ ////toplevel
   translate([20,-30]) {
     %EdgeProfile();
     %LidEdgeProfile();
-    //translate([0,0,1]) CatchCutProfile();
+    //translate([0,0,1]) ThumbRecessCutProfile();
     translate([0,0,+1]) color("red")
-      difference(){ EdgeProfile(); CatchCutProfile(); }
+      difference(){ EdgeProfile(); ThumbRecessCutProfile(); }
   }
 
   translate([40,-30]) {