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

index 2fe3ce14cc2df19e869893e41e5348cf4cc1c952..154b5f8f02854bcecc9e7a429090cfbb15565047 100644 (file)
@@ -280,7 +280,7 @@ module PsuMountTestFullMain() { ////toplevel
 module PsuMountTestFullOneLayer(ix) {
   linextr(0, psu_initial_layer_thick) {
     PsuMountTestFullLayerFrame(ix);
-    children();
+    translate([0, psu_y]) children();
   }
 }
 
@@ -293,3 +293,9 @@ module PsuMountTestFullWindows() { ////toplevel
   PsuMountTestFullOneLayer(1)
     PsuLedWindowsPlan();
 }
+
+module PsuMountTestFullDemo() { ////toplevel
+  color("blue") PsuMountTestFullMain();
+  color("yellow") PsuMountTestFullText();
+  %PsuMountTestFullWindows();
+}