From: Ian Jackson Date: Sun, 21 Nov 2021 18:04:17 +0000 (+0000) Subject: adafruit-powerboost: 1000: wip X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=6e444e10effaccd287139b3af0efa9c64f5f4397;p=reprap-play.git adafruit-powerboost: 1000: wip Signed-off-by: Ian Jackson --- diff --git a/adafruit-powerboost-1000.scad b/adafruit-powerboost-1000.scad index 1b6e877..e41d7dd 100644 --- a/adafruit-powerboost-1000.scad +++ b/adafruit-powerboost-1000.scad @@ -20,6 +20,9 @@ psu_led_low_sz_x = 4.5; psu_led_low_min_y = -1.5; psu_led_low_max_y = 2.5; +psu_led_baffle_th = 0.8; +psu_led_baffle_ends = 1.5; + psu_baffle_cnr_y = 7.45; // from connector end psu_usbend_led_x = 4.5; psu_baffle_th = [ 0.8, 3.5 ]; @@ -31,9 +34,14 @@ psu_innerend_led_depth = 10; psu_usbend_led_depth = psu_baffle_cnr_y*2 - psu_usbend_led_x; module PsuLedBafflePlan(){ -// AtPsuMountCorner(0,0) { -// translate([0, -// psu_led_usbend_y_min + psu_led_chrg_both_sz_y/2 + AtPsuMountCorner(0,0) { + translate([ (psu_led_chrg_min_x + psu_led_chrg_max_x)/2, + psu_led_usbend_y_min + psu_led_chrg_both_sz_y/2 ]) + square(center=true, + [ psu_led_chrg_max_x - psu_led_chrg_min_x + + psu_led_baffle_ends*2, + psu_led_baffle_th ]); + } } module PsuLedWindowsPlanCore(){