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

index 68b27da..a81bb61 100644 (file)
@@ -403,6 +403,18 @@ module TestCamera(){ ////toplevel
   }
 }
 
+module TestLidByCameraPrint(){ ////toplevel
+  rotate([180,0,0]) intersection(){
+    Lid();
+    CaseBase_rhsflip(1)
+      translate([0,0,-25])
+      linear_extrude(height = 50)
+      mirror([0, 1, 0])
+      rectfromto([-20, -20],
+                camera_pos_br + [ 5, 5 ]);
+  }
+}
+
 module OneKeeper(){ ////toplevel
   translate([0, -phone_cnr_rad, 0])
     rotate([90, 0, 0])