chiark / gitweb /
adafruit-powerboost-common: PsuLedWindowsWindows wip
[reprap-play.git] / adafruit-powerboost-common.scad
index 04dbd982a3e6a8cb67cf290e162fb84b5ddacdaf..86f62639ad1f6cceb63217d4930c094fb7cf6816 100644 (file)
@@ -192,6 +192,12 @@ module PsuLedWindowsPlan(){
   }
 }
 
+module PsuLedWindowsWindows(ceil){
+  linextr(0, psu_initial_layer_thick)
+    offset(delta=psu_window_ledge)
+    PsuLedWindowsPlan();
+}
+
 module PsuFirstLayerNegative(ceil){
   translate([0, 0, -psu_z - ceil])
     linextr(-1, psu_initial_layer_thick)
@@ -318,9 +324,9 @@ module PsuMountTestFullText() { ////toplevel
     PsuLedLegendsPlan();
 }
 module PsuMountTestFullWindows() { ////toplevel
-  PsuMountTestFullOneLayer(1)
-    offset(delta=psu_window_ledge)
-    PsuLedWindowsPlan();
+  PsuMountTestFullLayerFrame(1);
+  translate([0, psu_y, 0])
+    PsuLedWindowsWindows(psu_test_ceil);
 }
 
 module PsuMountTestFullDemo() { ////toplevel