chiark / gitweb /
fairphone-case: wip catch
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 Jan 2018 23:43:24 +0000 (23:43 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 Jan 2018 23:43:24 +0000 (23:43 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
fairphone-case.scad

index 3d73027..91f2a11 100644 (file)
@@ -98,7 +98,7 @@ catch_len = 9;
 catch_depth = 0.75;
 catch_height = 0.35;
 catch_finger_height = 1.5;
-catch_finger_depth = 5.5;
+catch_finger_depth = 2.5;
 
 // ---------- calculated ----------
 
@@ -318,6 +318,18 @@ module CatchCatchProfile(){
   polygon([cppJ, cppS, cppT, cppU, cppV, cppQ, cppR]);
 }
 
+module CatchCutProfile(){
+  polygon([ cppB,
+           cppA,
+           cppD,
+           cppF,
+           cppF + [0,-10],
+           cppF + [-10,-10],
+           lpp12 + [-10,0],
+           lpp12 + [10,0]
+           ]);
+}
+
 module Flip_rhs(yn=[0,1]) {
   for ($rhsflip=yn) {
     translate([phone_width/2, 0, 0])
@@ -885,7 +897,9 @@ module DemoProfiles(){ ////toplevel
   translate([20,-30]) {
     %EdgeProfile();
     %LidEdgeProfile();
+    //translate([0,0,1]) CatchCutProfile();
     color("blue") CatchCatchProfile();
+    color("red") difference(){ EdgeProfile(); CatchCutProfile(); }
   }
 }