chiark / gitweb /
adafruit-powerboost: wip common, test
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 Nov 2021 16:22:45 +0000 (16:22 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 Nov 2021 16:24:22 +0000 (16:24 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
adafruit-powerboost-common.scad

index 4d7cd7f5c1e46decb87cfad690b2919a2ae7104c..3fe334503c08a0ce85c45dbd153f6c05ac158e65 100644 (file)
@@ -166,15 +166,22 @@ module PsuMountTest(ceil = 2.5) { ////toplevel
     union(){
       translate([0, psu_y, psu_z])
        PsuMountPositive();
-      linextr_x_yz(-(psu_sz[0]/2 + 5),
-                  +(psu_sz[0]/2 + 5)){
-       difference(){
-         rectfromto([-ceil, -ceil], [psu_sz[1] + 5, psu_z + 10]);
-         rectfromto([0,0], 400*[1,1]);
+      difference(){
+       linextr_x_yz(-(psu_sz[0]/2 + 5),
+                    +(psu_sz[0]/2 + 5)){
+         difference(){
+           rectfromto([-ceil, -ceil], [psu_sz[1] + 5, psu_z + 10]);
+           rectfromto([0,0], 400*[1,1]);
+         }
+       }
+       translate([0, psu_y, psu_z]) {
+         PsuMountNegative();
        }
       }
     }
-    translate([0, psu_y, psu_z])
-      PsuMountNegative();
+    translate([0, psu_y, psu_z]) {
+      linextr(-10, 0.1)
+       PsuLedWindowsPlan();
+    }
   }
 }