From 8ea4065144f20e9159a8f1519c06e2af16926117 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 21 Nov 2021 16:22:45 +0000 Subject: [PATCH] adafruit-powerboost: wip common, test Signed-off-by: Ian Jackson --- adafruit-powerboost-common.scad | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/adafruit-powerboost-common.scad b/adafruit-powerboost-common.scad index 4d7cd7f..3fe3345 100644 --- a/adafruit-powerboost-common.scad +++ b/adafruit-powerboost-common.scad @@ -166,15 +166,22 @@ module PsuMountTest(ceil = 2.5) { ////toplevel union(){ translate([0, psu_y, psu_z]) PsuMountPositive(); - linextr_x_yz(-(psu_sz[0]/2 + 5), - +(psu_sz[0]/2 + 5)){ - difference(){ - rectfromto([-ceil, -ceil], [psu_sz[1] + 5, psu_z + 10]); - rectfromto([0,0], 400*[1,1]); + difference(){ + linextr_x_yz(-(psu_sz[0]/2 + 5), + +(psu_sz[0]/2 + 5)){ + difference(){ + rectfromto([-ceil, -ceil], [psu_sz[1] + 5, psu_z + 10]); + rectfromto([0,0], 400*[1,1]); + } + } + translate([0, psu_y, psu_z]) { + PsuMountNegative(); } } } - translate([0, psu_y, psu_z]) - PsuMountNegative(); + translate([0, psu_y, psu_z]) { + linextr(-10, 0.1) + PsuLedWindowsPlan(); + } } } -- 2.30.2