chiark / gitweb /
fairphone-battery-case: PushHolePlan better
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 13 Jun 2020 12:20:02 +0000 (13:20 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 13 Jun 2020 12:21:30 +0000 (13:21 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
fairphone-battery-case.scad

index 7b1537562357d932649564991cd219c5fb6641ad..03eb0fb9b4d9b952342330271a647b345fb5fb76 100644 (file)
@@ -22,9 +22,9 @@ handle_height = 3.5;
 handle_inward = 10;
 handle_len = 5;
 
-pushhole_ell_sz = 3.5;
-pushhole_ell_th = 1.5;
-pushhole_circle_dia = 2.0;
+pushhole_ell_sz = 3.75;
+pushhole_ell_th = 1.75;
+pushhole_circle_dia = 2.5;
 
 // for testing:
 battery_len = 3;
@@ -130,12 +130,13 @@ module ExtrudePlan(from,to){
 }
 
 module PushHolePlan(){ ////toplevel
-//  translate(-pushhole_ell_th * 0.5 * [1,1])
+  translate(-pushhole_ell_th * 0.5 * [1,1]) {
     for (r=[0,90])
       rotate(r)
        translate(-pushhole_ell_th * 0.5 * [1,1])
        square([ pushhole_ell_sz, pushhole_ell_th ]);
-  circle(pushhole_circle_dia/2, $fn=20);
+    circle(pushhole_circle_dia/2, $fn=20);
+  }
 }
 
 module PlanDemo(){ ////toplevel