chiark / gitweb /
fairphone-case: ButtonCoverReinf improvments
[reprap-play.git] / fairphone-case.scad
index 85bedf016a2897bf0940f81aa2b895d71700c0bd..ab2354afd5da248f63ed390988d8aa0e8abe3672 100644 (file)
@@ -210,6 +210,7 @@ lid_gap_z = 0.25;
 lid_lip = 1.75;
 lid_edgepart_width = 5.0;
 lid_buttoncover_thick = 1.3;
+lid_buttoncover_reinf = 1.0;
 
 catch_slop = 0.50;
 
@@ -262,7 +263,7 @@ catch_depth = 1.25;
 catch_height = 0.35;
 catch_finger_height = 1.5;
 catch_finger_depth = 2.5;
-catch_catch_slope = 0;
+catch_catch_slope = 0.25;
 
 catch_topcurve_r = 5.0;
 
@@ -728,6 +729,22 @@ module ButtonPlan(l, deep, cut){
   }
 }
 
+module ButtonCoverReinf(){ ////toplevel
+  minkowski(){
+    rotate([90,0,0])
+      linear_extrude(height=0.01)
+      intersection(){
+        ButtonCoverProfile();
+       translate([bppJ[0] + 0.1, -50]) mirror([1,0])
+         square([100,100]);
+    }
+    mirror([0,0,1]) linear_extrude(height=0.01) intersection(){
+      circle(r= lid_buttoncover_reinf);
+      translate([-20,0]) square(40, center=true);
+    }
+  }
+}
+
 module CatchCatchProfile(){
   hull(){
     for (c=[ cppR, cppQ ])
@@ -1052,7 +1069,7 @@ module PropProfileAssignments(gamma){
   children();
 }
 
-module PropProfile(gamma, cut=0, rot=0){ ////toplevel
+module PropProfile(gamma, cut=0, rot=0){
   PropProfileAssignments(gamma){
 
     //#circleat($prpp3,1);