From 4a9d7e6d6c3161ab5b979ce7a820b6148495b7ad Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 3 Dec 2021 23:12:15 +0000 Subject: [PATCH] adafruit-powerboost-common: PsuLedWindowsWindows wip Signed-off-by: Ian Jackson --- adafruit-powerboost-common.scad | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/adafruit-powerboost-common.scad b/adafruit-powerboost-common.scad index 04dbd98..86f6263 100644 --- a/adafruit-powerboost-common.scad +++ b/adafruit-powerboost-common.scad @@ -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 -- 2.30.2