// -*- C -*-
-psu_sz_nom = [ 21.59, 35.56 ];
+psu_sz_nom = [ 11.43*2, 36.20 ];
//// toplevels-from:
include <adafruit-powerboost-common.scad>
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 ];
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(){
psu_innerend_led_depth]);
}
}
-// translate([0, -psu_sz[1]/2])
-// square(center=true, [psu_baffle_th[1], psu_sz[1]]);;
}
}