chiark / gitweb /
adafruit-powerboost: battery legend wip test
[reprap-play.git] / adafruit-powerboost-common.scad
index 84430a05edac938a8cd77dcb9250d226a40e62f7..154b5f8f02854bcecc9e7a429090cfbb15565047 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,26 @@ module PsuMountTestFullMain() { ////toplevel
     }
   }
 }
+
+module PsuMountTestFullOneLayer(ix) {
+  linextr(0, psu_initial_layer_thick) {
+    PsuMountTestFullLayerFrame(ix);
+    translate([0, psu_y]) children();
+  }
+}
+
+module PsuMountTestFullText() { ////toplevel
+  PsuMountTestFullOneLayer(0)
+    offset(delta=psu_window_ledge)
+    PsuLedLegendsPlan();
+}
+module PsuMountTestFullWindows() { ////toplevel
+  PsuMountTestFullOneLayer(1)
+    PsuLedWindowsPlan();
+}
+
+module PsuMountTestFullDemo() { ////toplevel
+  color("blue") PsuMountTestFullMain();
+  color("yellow") PsuMountTestFullText();
+  %PsuMountTestFullWindows();
+}