chiark / gitweb /
fairphone-case: wip struts to strengthen
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 20 Jan 2018 18:50:06 +0000 (18:50 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 20 Jan 2018 18:50:06 +0000 (18:50 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
fairphone-case.scad

index 978579d14a062334cdfdfb75a73207498e6c27c5..94f3b25948d5793e0b81731aa2f28ff016652f4f 100644 (file)
@@ -18,6 +18,11 @@ case_th_lid = 2.5;
 case_th_side = 2;
 case_th_lip = 1.2;
 
+case_struts_count = 6;
+case_struts_solid_below = 0.5;
+case_struts_solid_above = 0.5;
+case_struts_width = 0.10;
+
 keeper_th_z = 0.75;
 keeper_th_x = 0.75;
 keeper_inner_width = 1.75;
@@ -204,6 +209,17 @@ module Case(){ ////toplevel
       linear_extrude(height = 20)
       mirror([0, 1, 0])
       rectfromto(camera_pos_tl, camera_pos_br);
+
+    // struts (invisible, because they're buried in the case)
+    for (i= [1 : 1 : case_struts_count]) {
+      translate([0,
+                -phone_height * i / (case_struts_count+1),
+                epp2i[1] - case_th_bottom + case_struts_solid_below])
+       linear_extrude(height= case_th_bottom
+                      -(case_struts_solid_below+case_struts_solid_above))
+       rectfromto([               epp2i[0], -0.5 * case_struts_width ],
+                  [ phone_width - epp2i[0], +0.5 * case_struts_width ]);
+    }
   }
 }