X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=adafruit-powerboost-1000.scad;h=78286c135c4bc648449cf68791bcbc26132bb2b7;hb=dfb939f64d208a5d0440273a7f9fd5867c2c30c1;hp=d65321516c119ba567e3bbc4389a0a5fa251c73b;hpb=d51502102495f99721d11f1c8c614b6edd8c093c;p=reprap-play.git diff --git a/adafruit-powerboost-1000.scad b/adafruit-powerboost-1000.scad index d653215..78286c1 100644 --- a/adafruit-powerboost-1000.scad +++ b/adafruit-powerboost-1000.scad @@ -1,6 +1,6 @@ // -*- C -*- -psu_sz_nom = [ 21.59, 35.56 ]; +psu_sz_nom = [ 11.43*2, 36.20 ]; //// toplevels-from: include @@ -23,16 +23,11 @@ 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_y = 4.5; -psu_innerend_led_depth = 10; +psu_innerend_led_depth = 7; // ----- calculated ----- -psu_usbend_led_depth = psu_baffle_cnr_y*2 - psu_usbend_led_x; - module PsuLedBafflePlan(){ AtPsuMountCorner(0,0) { translate([ (psu_led_chrg_min_x + psu_led_chrg_max_x)/2, @@ -69,8 +64,13 @@ module PsuLedWindowsPlanCore(){ AtPsuMountCorner(0,1){ rectfromto([0,0], [psu_sz[0]/2 - psu_hole_pos[1] - psu_hole_dia/2, - psu_innerend_led_depth]); + psu_innerend_led_depth]); } } } } + +module PsuLedLegendsPlan(){ + mirror([1,0]) + text("T"); +}