chiark / gitweb /
digispark-with-cable: midbot_registration wrong
[reprap-play.git] / fairphone4-case.scad
index cdd0aa721c5ad099d23bfb92ab55569d61b51ee0..0a4b63d6efee47c6ca669319ba61c10e8d96a7dc 100644 (file)
@@ -153,7 +153,7 @@ microusb_width = 12.16 + 2.0 + 1.25;
 
 case_th_bottom = 2.5;
 case_th_lid = 3.0;
-case_th_side = 2.3;
+case_th_side = 2.6;
 case_th_lip = 1.2;
 
 lid_screen_gap_extra = .66;
@@ -175,6 +175,7 @@ keeper_gap_x     = 0.25;
 keeper_gap_x_holes = 0.75;
 keeper_fatter = 0.45;
 keeper_fatter_hole = 1.20;
+keeper_stubbier = 0.0;
 
 keeper_side = 0; // 0 = lhs; 1 = rhs
 
@@ -185,7 +186,7 @@ lid_gap_z = 0.25;
 lid_lip = 1.75;
 lid_edgepart_width = 5.0;
 lid_buttoncover_thick = 1.3;
-lid_buttoncover_reinf = 0.65;
+lid_buttoncover_reinf = 0.95;
 
 foldover_gap = 0.50;
 foldover_lever_gap = 0.50;
@@ -471,14 +472,14 @@ module AdhocMultiprintFrame(phase, z0, zs) {
     }
 }
 
-module KeeperProfile(fatter, slant=0){
+module KeeperProfile(fatter=0, slant=0, stubbier=0){
   use_e = kppe + [0,-1] * slant * keeper_inner_width / keeper_slant_slope;
   polygon([use_e + [+1,-1] * fatter,
-          kppd  + [ 0,-1] * fatter,
-          kppc,
+          kppd  + [ 0,-1] * fatter - stubbier * [1,0],
+          kppc                     - stubbier * [1,0],
           kppb,
-          kppa,
-          kppf  + [+1, 0] * fatter
+          kppa                     + stubbier * [0,1],
+          kppf  + [+1, 0] * fatter + stubbier * [0,1]
           ]);
 }
 
@@ -803,7 +804,8 @@ module Buttons(){
   Flip_rhs(1) SideButton(64.220, +1, 14.500  ) children(); // power
   Flip_rhs(1) LidButtonishLeg(14, -1) children();
   Flip_rhs(0) LidButtonishLeg(21, -1) children();
-  Flip_rhs(0) LidButtonishLeg(21, +1) children();
+  Flip_rhs(0) LidButtonishLeg(38, +1) children();
+  Flip_rhs(0) LidButtonishLeg(14, +1) children();
 }
 
 module Struts(x_start, z_min, th){
@@ -1468,7 +1470,7 @@ module OneKeeper(){ ////toplevel
   translate([0, -phone_cnr_rad, 0])
     rotate([90, 0, 0])
     linear_extrude(height = phone_height - phone_cnr_rad * 2)
-    KeeperProfile(fatter=keeper_fatter);
+    KeeperProfile(fatter=keeper_fatter, stubbier=keeper_stubbier);
 }
 
 module OneKeeperPrint(){ ////toplevel