chiark / gitweb /
adafruit-powerboost: battery legend wip test
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 Nov 2021 23:19:35 +0000 (23:19 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 Nov 2021 23:19:35 +0000 (23:19 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
adafruit-powerboost-common.scad

index 84430a05edac938a8cd77dcb9250d226a40e62f7..2fe3ce14cc2df19e869893e41e5348cf4cc1c952 100644 (file)
@@ -260,7 +260,7 @@ module PsuMountTestFullMain() { ////toplevel
   ceil = psu_test_ceil;
 
   linextr(0, psu_initial_layer_thick)
-    PsuMountTestFullLayerFrame(0);
+    PsuMountTestFullLayerFrame(2);
   
   difference(){
     translate([0,0, ceil])
@@ -276,3 +276,20 @@ module PsuMountTestFullMain() { ////toplevel
     }
   }
 }
+
+module PsuMountTestFullOneLayer(ix) {
+  linextr(0, psu_initial_layer_thick) {
+    PsuMountTestFullLayerFrame(ix);
+    children();
+  }
+}
+
+module PsuMountTestFullText() { ////toplevel
+  PsuMountTestFullOneLayer(0)
+    offset(delta=psu_window_ledge)
+    PsuLedLegendsPlan();
+}
+module PsuMountTestFullWindows() { ////toplevel
+  PsuMountTestFullOneLayer(1)
+    PsuLedWindowsPlan();
+}