chiark / gitweb /
adafruit-powerboost: solder space main
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 Nov 2021 20:14:24 +0000 (20:14 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 Nov 2021 20:14:35 +0000 (20:14 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
adafruit-powerboost-common.scad

index c731c224062fb0e150f8b8e5e42a1e80129e9d54..79752520413b40c0e094d33056f1d6a8a4bc5161 100644 (file)
@@ -36,6 +36,12 @@ psu_baffle_gap = 1.0 + 0.5;
 
 psu_y = +psu_sz[1]/2 + psu_usb_protr;
 
+psu_usba_v_apart = 7.0;
+psu_usba_v_from_edge = 4.86;
+psu_usba_v_space_below = 1.5;
+psu_usba_v_space_w = 1.7;
+psu_usba_v_space_l = 3.0;
+
 // ----- calculated -----
 
 psu_z = NutBox_h_base(psu_board_nutbox);
@@ -72,6 +78,19 @@ module PsuMountCornerExtrude(mx,my, plus_z=psu_board_support_z){
   }
 }
 
+module PsuUsbAVSpacePlan(){
+  for (x= [-1,+1] * psu_usba_v_apart/2) {
+    translate([x, -psu_usba_v_from_edge ]) {
+      hull(){
+       for (y= [-1,+1] * (psu_usba_v_space_l - psu_usba_v_space_w)) {
+         translate([0,y])
+           circle(r= psu_usba_v_space_w);
+       }
+      }
+    }
+  }
+}
+
 module PsuMountPositiveMain(){
   for (mx=[0,1]) {
     for (my=[0,1]) {
@@ -129,6 +148,9 @@ module PsuMountPositive(){
     translate([0, psu_board_nutbox_y, 0])
       rotate([0,0,180])
       NutBox(psu_board_nutbox, psu_z_down);
+    translate([0, psu_sz[1]/2, 0])
+      linextr(-psu_usba_v_space_below, +10)
+      PsuUsbAVSpacePlan();
   }
 }