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

index d1181e6..29cbdb1 100644 (file)
@@ -541,6 +541,13 @@ module HingePortion(x0,x1){
     children(0);
 }
 
+module CatchPortion(width){
+  translate([phone_width/2, 0,0])
+    rotate([90,0,-90])
+    linextr(-width/2, width/2)
+    children(0);
+}
+
 module CaseBase(){
   AroundEdges(epp3[1], case_th_bottom, 1)
     EdgeProfile();
@@ -649,6 +656,10 @@ module Lid(){ ////toplevel
 
       // hinge arms
       HingePortion(hex20, hex21) HingeLidProfile();
+
+      // catch
+      CatchPortion(catch_width)
+       CatchCatchProfile();
     }
     Struts(lpp10[0] + strut_min_at_end, lpp13[1], -case_th_lid);