chiark / gitweb /
fairphone-case: wip reorganise catch
[reprap-play.git] / fairphone-case.scad
index c7a0bd433684045b40308b94524805d3f1072d8f..76cb859175f1e150787b2b7d62701a2d43948cac 100644 (file)
@@ -210,9 +210,7 @@ lid_gap_z = 0.25;
 lid_lip = 1.75;
 lid_edgepart_width = 5.0;
 lid_buttoncover_thick = 1.3;
-lid_buttoncover_reinf = 1.0;
-
-catch_slop = 0.50;
+lid_buttoncover_reinf = 0.65;
 
 foldover_gap = 0.50;
 foldover_lever_gap = 0.50;
@@ -254,17 +252,19 @@ hinge_r_arms_gap = 0.55;
 
 rearspeaker_gap    = [ 2.0, 2.0 ]; // each side
 
-catch_len = 7.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 = 1.25;
+catch_depth = 0.75;
 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_catch_slope = 2.00;
+catch_close_slope = 3.00;
 
 catch_topcurve_r = 5.0;
 
@@ -746,19 +746,6 @@ module ButtonCoverReinf(){ ////toplevel
   }
 }
 
-module CatchCatchProfile(){
-  hull(){
-    for (c=[ cppR, cppQ ])
-      circleat(c, cp_rQ);
-  }
-  hull(){
-    circleat(lpp12, lp_r12);
-    circleat(lpp12 + [5,0], lp_r12);
-    rectfromto(cppP, cppP + [5,0.1]);
-  }
-  polygon([cppJ, cppS, cppT, cppU, cppV, cppQ, cppR]);
-}
-
 module CatchCutProfile(){
   polygon([ cppB,
            cppA,
@@ -1294,10 +1281,6 @@ module Lid(){ ////toplevel
        LidEdgeProfile();
        HingeLidProfile();
       }
-
-      // catch
-      CatchPortion(0, lpp12[1])
-       CatchCatchProfile();
     }
     Struts(lpp10[0] + strut_min_at_end, lpp13[1], -case_th_lid);
 
@@ -1770,7 +1753,6 @@ module DemoProfiles(){ ////toplevel
     //translate([0,0,1]) CatchCutProfile();
     translate([0,0,+1]) color("red")
       difference(){ EdgeProfile(); CatchCutProfile(); }
-    color("blue") CatchCatchProfile();
   }
 
   translate([40,-30]) {