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

index 1d703596282b71dd9f74163993ab27aaba739c22..7b1537562357d932649564991cd219c5fb6641ad 100644 (file)
@@ -22,6 +22,10 @@ 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;
+
 // for testing:
 battery_len = 3;
 //battery_wdth = 15;
@@ -125,6 +129,15 @@ module ExtrudePlan(from,to){
   }
 }
 
+module PushHolePlan(){ ////toplevel
+//  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);
+}
+
 module PlanDemo(){ ////toplevel
   color("blue") BaseHalfPlan();
   color("red") LidHalfPlan();