chiark / gitweb /
adafruit-powerboost: solder space prep nfc
[reprap-play.git] / adafruit-powerboost-common.scad
index 7d25fc7c777ccd2e8d2603d32da51bc89f935c04..c731c224062fb0e150f8b8e5e42a1e80129e9d54 100644 (file)
@@ -125,9 +125,11 @@ module PsuMountPositive(){
        circle(r= psu_hole_dia/2);
     }
   }
-  translate([0, psu_board_nutbox_y, 0])
-    rotate([0,0,180])
-    NutBox(psu_board_nutbox, psu_z_down);
+  difference(){
+    translate([0, psu_board_nutbox_y, 0])
+      rotate([0,0,180])
+      NutBox(psu_board_nutbox, psu_z_down);
+  }
 }
 
 module PsuClamp(){ ////toplevel
@@ -168,6 +170,11 @@ module PsuMountDemo(ceil = 2.5) { ////toplevel
     color("yellow") translate([0,0, -psu_z - ceil])
       linear_extrude(height=0.4, convexity=10)
       PsuLedWindowsPlan();
+
+    translate([0, psu_board_nutbox_y, 10])
+      rotate([180,0,0])
+      rotate([0,0,-90])
+      PsuClamp();
   }
 }