From: Ian Jackson Date: Thu, 2 Dec 2021 20:40:38 +0000 (+0000) Subject: adafruit-powerboost: make PsuMountWindowsNegative have window ledges X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=b1d108f6bd689d9858e57710bc114dea7d191a72;p=reprap-play.git adafruit-powerboost: make PsuMountWindowsNegative have window ledges Signed-off-by: Ian Jackson --- diff --git a/adafruit-powerboost-common.scad b/adafruit-powerboost-common.scad index b38753a..505e472 100644 --- a/adafruit-powerboost-common.scad +++ b/adafruit-powerboost-common.scad @@ -192,9 +192,13 @@ module PsuLedWindowsPlan(){ } } -module PsuMountWindowsNegative(){ +module PsuMountWindowsNegative(ceil){ linextr(-10, 0.1) PsuLedWindowsPlan(); + translate([0, 0, -psu_z - ceil]) + linextr(-1, psu_initial_layer_thick) + offset(delta=psu_window_ledge + psu_multicolour_gap) + PsuLedWindowsPlan(); } module PsuMountDemo() { ////toplevel @@ -249,7 +253,7 @@ module PsuMountTest() { ////toplevel } } translate([0, psu_y, psu_z]) - PsuMountWindowsNegative(); + PsuMountWindowsNegative(ceil); } } @@ -289,8 +293,6 @@ module PsuMountTestFullMain() { ////toplevel translate([0, psu_y, 0]) { linextr(-1, psu_initial_layer_thick) { - offset(delta=psu_window_ledge + psu_multicolour_gap) - PsuLedWindowsPlan(); offset(delta=psu_multicolour_gap) PsuLedLegendsPlan(); }