chiark / gitweb /
fairphone-case: different wip (nfc) to prep for case folding bug fix
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 15 Mar 2018 12:10:09 +0000 (12:10 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 15 Mar 2018 12:10:31 +0000 (12:10 +0000)
Revert previous commit and instead break out LidAroundEdges

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

index d77e7b9..d3eafb3 100644 (file)
@@ -1055,20 +1055,17 @@ module LidAdhocMultiprintFrame(phase){
   }
 }
 
+module LidAroundEdges(){
+  AroundEdges(lpp10[1], lpp13[1] - lpp10[1], 0)
+    children();
+}
+
 module Lid(){ ////toplevel
   skew_centre = [0, lpp11[0], lpp11[1]];
   difference(){
     union(){
-      intersection_for(skew=[0,1]){
-       translate(skew_centre)
-         multmatrix([[ 1, 0, 0, 0 ],
-                     [ 0, 1, 0, 0 ],
-                     [ 0, 0, 1, 0 ],
-                     [ 0, 0, 0, 1 ]])
-         translate(-skew_centre)
-         AroundEdges(lpp10[1], lpp13[1] - lpp10[1], 0)
-         LidEdgeProfile();
-      }
+      LidAroundEdges()
+       LidEdgeProfile();
 
       // button covers
       Buttons(){