chiark / gitweb /
scaffold-clamp: wip straphook
[reprap-play.git] / fairphone-battery-case.scad
index f3b4368fa6f33943728a4261fb44d0cb5b24cd1e..557271d3e98d329d9982c19b574658fe7599ada0 100644 (file)
@@ -24,12 +24,12 @@ handle_height = 3.5;
 handle_inward = 10;
 handle_len = 5;
 
-pushhole_ell_sz = 3.75;
+pushhole_ell_sz = 4.75;
 pushhole_ell_th = 1.75;
-pushhole_circle_dia = 3.0;
+pushhole_circle_dia = 4.0;
 
 // for testing:
-battery_len = 3;
+//battery_len = 3;
 //battery_wdth = 15;
 //battery_base_indent_fromside_inside = 6;
 
@@ -132,7 +132,8 @@ module ExtrudePlan(from,to){
 }
 
 module PushHolePlan(){ ////toplevel
-  translate(-pushhole_ell_th * 0.30 * [1,1]) {
+  translate(-(pushhole_ell_th * 0.10 +
+             pushhole_ell_sz * 0.10) * [1,1]) {
     for (r=[0,90])
       rotate(r)
        translate(-pushhole_ell_th * 0.5 * [1,1])
@@ -150,7 +151,7 @@ module PlanDemo(){ ////toplevel
 module Base(){ ////toplevel
   difference(){
     ExtrudePlan(0,s1) BaseHalfPlan();
-    linextr(-10, battery_len+10, convexity=5) PushHolePlan();
+    linextr(-(10+battery_len), battery_len+10, convexity=5) PushHolePlan();
   }
   difference(){
     union(){