From: Ian Jackson Date: Sun, 21 Nov 2021 15:51:10 +0000 (+0000) Subject: adafruit-powerboost: wip common, test X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;ds=sidebyside;h=7a034f0ae3d2d979d4eded0fec060452d827d422;p=reprap-play.git adafruit-powerboost: wip common, test Signed-off-by: Ian Jackson --- diff --git a/adafruit-powerboost-common.scad b/adafruit-powerboost-common.scad index a98f427..4d7cd7f 100644 --- a/adafruit-powerboost-common.scad +++ b/adafruit-powerboost-common.scad @@ -160,3 +160,21 @@ module PsuMountDemo(ceil = 2.5) { ////toplevel PsuLedWindowsPlan(); } } + +module PsuMountTest(ceil = 2.5) { ////toplevel + difference(){ + 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]); + } + } + } + translate([0, psu_y, psu_z]) + PsuMountNegative(); + } +}