chiark / gitweb /
fairphone-case: cnr rad bigger from v1
[reprap-play.git] / fairphone-case.scad
index 1e136a767c8100ebf205d7259753fefce75ec61b..eca61ac58adcd2155d74b52bce5155a163ad959e 100644 (file)
@@ -3,7 +3,7 @@
 phone_height = 146.5 - .80;
 phone_width = 76.75;
 
-phone_cnr_rad = 4.0;
+phone_cnr_rad = 6.0;
 
 phone_edge_thick = 9.0;
 phone_total_thick = 12.0;
@@ -23,7 +23,7 @@ keeper_inner_width = 1.75;
 keeper_inner_height = 1.75;
 
 keeper_gap_z_top = 0.25;
-keeper_gap_z_bot = 0.25;
+keeper_gap_z_bot = 0.75;
 keeper_gap_x     = 0.25;
 keeper_gap_x_holes = 0.75;
 
@@ -166,10 +166,27 @@ module CaseBase(){
 
 module Case(){ ////toplevel
   difference(){
-    CaseBase();
+    union(){
+      CaseBase();
 
-    // slots for keeper
-    CaseBase_rhsflip()
+      // ledge (fixed keeper)
+      intersection(){
+       rotate([90, 0, 0])
+         linear_extrude(height = phone_height + phone_cnr_rad * 2)
+         KeeperProfile();
+
+       // 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);
+      }
+    }
+
+    // slot for keeper
+    CaseBase_rhsflip(1)
       translate([0, -phone_cnr_rad, 0])
       rotate([90, 0, 0])
       linear_extrude(height = phone_height + phone_cnr_rad * 2)