From 3f0dcf5f65da3d3e05efa1d06d075d66b3ac65d3 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 21 Nov 2021 23:19:35 +0000 Subject: [PATCH] adafruit-powerboost: battery legend wip test Signed-off-by: Ian Jackson --- adafruit-powerboost-common.scad | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/adafruit-powerboost-common.scad b/adafruit-powerboost-common.scad index 84430a0..2fe3ce1 100644 --- a/adafruit-powerboost-common.scad +++ b/adafruit-powerboost-common.scad @@ -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(); +} -- 2.30.2