chiark / gitweb /
powerbank-bike-clamp: wip
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 6 Feb 2021 00:11:55 +0000 (00:11 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 7 Feb 2021 23:03:45 +0000 (23:03 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
powerbank-bike-clamp.scad

index 18e338d574712700a6bb0075a9d71b117fffb911..aaf287b0e23348a8ba1f07c6d107fd3a5e951d6e 100644 (file)
@@ -38,15 +38,17 @@ $fa = 5;
 bank_eps_bbox_x = [149, 598];
 bank_eps_bbox_y = [274, 1452];
 
+bank_y_sz = 102.25 + 0.50;
 bank_x_sz = (24.9 + 0.5);
 bank_recess_y = 5;
-bank_recess_dx = 3;
 
 strap_th = 3;
 strap_above = 2.5;
 
 // calculated
 
+bank_recess_dx = minor_wall_min;
+
 pspt_to_mm = 25.4 / 72;
 
 hinge_stride = (clamp_width + hinge_gap_z) / hinge_lobes;
@@ -152,6 +154,13 @@ module PowerBankItselfSidePlan(){
     import("powerbank-anker-10000.dxf", convexity=5);
 }
 
+module PowerBankItself(){ ////toplevel
+  rotate([0,90,0])
+    linextr_y_xz(-bank_y_sz/2,
+                +bank_y_sz/2)
+    PowerBankItselfSidePlan();
+}
+
 module PowerBankSidePlan(){ ////toplevel
   render() difference(){
     rectfromto([ -holder_x_sz/2,  0 ],