chiark / gitweb /
adafruit-powerboost: from v3
[reprap-play.git] / adafruit-powerboost-1000.scad
index 30b2912220e02fb7223784d69ad281e7967c2f74..717178d4bbdd4e7e87b438b5d1a20de9090f6e1e 100644 (file)
@@ -14,11 +14,11 @@ psu_led_low_x = 4;
 psu_led_usbend_y_min = 4.5;
 psu_led_chrg_min_x = -1.0;
 psu_led_chrg_max_x = 3.0;
-psu_led_chrg_both_sz_y = 7.0;
+psu_led_chrg_both_sz_y = 9.4;
 
-psu_led_pwr_sz_x = 4.5;
-psu_led_pwr_min_y = -1.5;
-psu_led_pwr_max_y = 2.5;
+psu_led_low_sz_x = 4.5;
+psu_led_low_min_y = -1.5;
+psu_led_low_max_y = 3.25;
 
 psu_led_baffle_th = 0.8;
 psu_led_baffle_ends = 1.5;
@@ -35,7 +35,7 @@ psu_led_legend_battery_nub_w = 1.5;
 
 psu_led_legend_power_dia = 5.0;
 
-psu_led_legend_gap = 0.75;
+psu_led_legend_gap = 1.25;
 
 // ----- calculated -----
 
@@ -74,16 +74,16 @@ module PsuLedWindowsPlanCore(){
                       psu_led_chrg_both_sz_y ]);
       }
 
-      // One LED, PWR, near outlet USB pads
+      // One LED, "Low", other side of inlet connector
       AtPsuMountCorner(1,0) {
        translate([0, psu_led_usbend_y_min ])
          rectfromto([ 0,
-                      psu_led_pwr_min_y ],
-                    [ psu_led_pwr_sz_x,
-                      psu_led_pwr_max_y ]);
+                      psu_led_low_min_y ],
+                    [ psu_led_low_sz_x,
+                      psu_led_low_max_y ]);
       }
 
-      // One LED, "Low", other side of inlet connector
+      // One LED, PWR, near outlet USB pads
       AtPsuMountCorner(0,1){
        rectfromto([0,0],
                   [psu_sz[0]/2 + psu_innerend_led_x_midder,
@@ -162,7 +162,7 @@ module PsuLedLegendsPlan(){
             -psu_sz[1]/2
             + psu_led_legend_gap
             + psu_led_usbend_y_min
-            + psu_led_pwr_max_y
+            + psu_led_low_max_y
             + psu_led_legend_power_sz_y
             ])
     rotate([0,0,180])