From: Ian Jackson Date: Sun, 21 Nov 2021 12:47:19 +0000 (+0000) Subject: adafruit-powerboost-500: provide psu_y and trim properly X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=cff6116357732f2efbac6aa6cb35931848a207d4;p=reprap-play.git adafruit-powerboost-500: provide psu_y and trim properly Signed-off-by: Ian Jackson --- diff --git a/adafruit-powerboost-500.scad b/adafruit-powerboost-500.scad index 63650ee..69d1bbd 100644 --- a/adafruit-powerboost-500.scad +++ b/adafruit-powerboost-500.scad @@ -30,6 +30,8 @@ psu_board_clamp_ovlp = 4.5; psu_board_support_wall = 2; psu_board_nutbox = nutbox_data_M3; +psu_y = +psu_sz[1]/2 + psu_usb_protr; + // ----- calculated ----- psu_usbend_led_depth = psu_baffle_cnr_y*2 - psu_usbend_led_x; @@ -142,7 +144,10 @@ module PsuMountNegative(){ module PsuMountPositive(){ difference(){ - PsuMountPositiveMain(); + intersection(){ + PsuMountPositiveMain(); + linextr_y_xz(-psu_y, psu_sz[1]*2) square(100, center=true); + } PsuMountNegative(); intersection(){ hull(){