chiark / gitweb /
adafruit-powerboost: wip common
[reprap-play.git] / adafruit-powerboost-500.scad
index d946bdae287db0e0f0e0cda5055eb0c1d508ae92..1fed3e8fe67c5cfc343ebe71215d6f5e01f15011 100644 (file)
@@ -1,14 +1,10 @@
 // -*- C -*-
 
-psu_sz  = [ 21.7, 36.0 ] + [ 0.25, 0.25 ];
+psu_sz_nom = [ 21.59, 35.56 ];
 
+//// toplevels-from:
 include <adafruit-powerboost-common.scad>
 
-psu_hole_pos = [ 2.05, // from back edge of psu_sz[0]
-                0.55 * 0.5 * 25.4, // from centreline
-                ];
-
-psu_baffle_gap = 1.0 + 0.5;
 psu_baffle_cnr_y = 7.45; // from connector end
 psu_baffle_th = [ 0.8, 3.5 ];
 psu_usbend_led_x = 4.5;
@@ -33,7 +29,7 @@ module PsuLedBafflePlan(){
   }
 }
 
-module PsuLedWindowsPlan(){
+module PsuLedWindowsPlanCore(){
   difference(){
     union(){
       AtPsuMountCorner(1,0) {
@@ -56,9 +52,7 @@ module PsuLedWindowsPlan(){
                     psu_innerend_led_depth]);
       }
     }
-    PsuLedBafflePlan();
     translate([0, -psu_sz[1]/2])
       square(center=true, [psu_baffle_th[1], psu_sz[1]]);;
   }
 }
-