chiark / gitweb /
fairphone-case: for revert: LidEdgeFoldClearanceProfile
[reprap-play.git] / fairphone-case.scad
index d3eafb38d3c2c6088c20871ec8a7fee1690c4284..41bad57660bfe76e488520c12b7fba7705a2dba6 100644 (file)
@@ -521,6 +521,14 @@ module LidEdgeProfile(){
   }
 }
 
+module LidEdgeFoldClearanceProfile(){
+  polygon([ lpp10 + [0,  -10],
+           lpp11,
+           lpp11 + [20,   0],
+           lpp10 + [20, -10]
+           ]);
+}
+
 module ButtonCoverProfile(){
   intersection(){
     polygon(concat([ bppM, bppP, bppO, bppJ ],
@@ -1090,6 +1098,15 @@ module Lid(){ ////toplevel
     }
     Struts(lpp10[0] + strut_min_at_end, lpp13[1], -case_th_lid);
 
+    translate(skew_centre)
+      multmatrix([[ 1, 0, 0, 0 ],
+                 [ 0, 1, 2, 0 ],
+                 [ 0, 0, 1, 0 ],
+                 [ 0, 0, 0, 1 ]])
+      translate(-skew_centre)
+      LidAroundEdges()
+      LidEdgeFoldClearanceProfile();
+
     // screw holes in the hinge arms
     HingeScrews();