chiark / gitweb /
fairphone-case: optimise one keeper (nfc)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 20 Jan 2018 18:18:10 +0000 (18:18 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 20 Jan 2018 18:18:10 +0000 (18:18 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
fairphone-case.scad

index c0aae50..2b77f9b 100644 (file)
@@ -168,12 +168,20 @@ module Case(){ ////toplevel
   difference(){
     union(){
       CaseBase();
+
+      // ledge (fixed keeper)
       intersection(){
        rotate([90, 0, 0])
          linear_extrude(height = phone_height + phone_cnr_rad * 2)
          KeeperProfile();
-       hull()
-         CaseBase();
+
+       // outline of the whole case, to stop it protruding
+       translate([0,0, -25])
+         linear_extrude(height = 50)
+         hull()
+         // CaseBase_rhsflip() // actually, we only care about the LH
+         CaseBase_botflip()
+         circleat([+1,-1] * phone_cnr_rad, phone_cnr_rad + case_th_side/2);
       }
     }