chiark / gitweb /
fairphone4-case: test frame horizontal struts
[reprap-play.git] / fairphone4-case.scad
index 164679bb09e970029aa533a1af67fb54221a0db4..75ff79edb7b41c780d335d12cb5aecc85144a670 100644 (file)
@@ -149,9 +149,9 @@ button_cutout_depth = 9;
 
 phone_edge_thick = 11.25;
 
-camera_pos_tl = [  7.350,  7.500 ]; // from tl corner (as seen from back)
-camera_edge_rad = 9.0;
-camera_sz = 32.92;
+camera_pos_tl = [  6.600,  6.750 ]; // from tl corner (as seen from back)
+camera_edge_rad = 9.750;
+camera_sz = 32.920 + .750;
 
 // this is disabled, FP4 doesn't have one
 jack_pos = [ 13.83, 8.485 ];
@@ -162,13 +162,13 @@ led_pos = []; // [ 13.98, 10.00 ];
 led_aperture = 9;
 led_window_ledge = 0.75; // each side
 
-noisecancelmic_pos = [ 15.08, 4.35 ];   // from rhs, from top edge
+noisecancelmic_pos = [ 15.08 + .720, 4.35 ];   // from rhs, from top edge
 noisecancelmic_dia = 4.00;
 
-mainmic_pos = [ 21.0, 4.35 ];   // from lhs, from top edge
+mainmic_pos = [ 21.5, 3.45 ];   // from lhs, from top edge
 mainmic_dia = 4.00;
 
-lhshole_pos = [ phone[1]/2, 4.35 ];
+lhshole_pos = [ phone[1]/2 - 0.80, 4.35 ];
 
 // fingerpushhole_dias = [];
 fingerpushhole_dias = [ 15, 18 ]; // this is for testing
@@ -179,8 +179,8 @@ lanyard_channel_len = 8;
 //rearspeaker_pos_bl = [ 12.64, 18.72 ];
 //rearspeaker_size   = [  3.76,  7.36 ];
 
-bottomspeaker_size = [ 11.35, 1.40 ] + [1,1] * 0.5;
-bottomspeaker_pos = [ 19.45, 4.82 ];
+bottomspeaker_size = [ 12.35, 1.40 ] + [1,1] * 0.5;
+bottomspeaker_pos = [ 18.05, 5.52 ]; // from rhs, from top
 
 microusb_above = 1.64 - 0.25;
 microusb_below = 2.42;
@@ -896,7 +896,7 @@ module OrdinaryRearApertures(){
 module NotInTestFrameRearApertures(){
   // finger hole to remove phone
   if (len(fingerpushhole_dias))
-    OrdinaryRearAperture(0,0, [ fingerpushhole_dias[0]/2 + epp2i[0],
+    OrdinaryRearAperture(0,0, [ fingerpushhole_dias[0] + epp2i[0],
                                phone[1]/2 ])
     scale(fingerpushhole_dias)
     circle(r= 0.5 );
@@ -1513,6 +1513,11 @@ module TestSelectFrame(){
       linear_extrude(height=200)
       rectfromto(include,  inside_br - include);
   }
+
+  for (i= [1,2]) {
+    translate([ 0, -phone[1] * i/3, 0 ])
+      cube(center=true, [1000, 4, 100]);
+  }
 }
 
 module TestSelectLidFrame(){