Created
September 16, 2013 16:29
-
-
Save foosel/6583003 to your computer and use it in GitHub Desktop.
Bracket for mounting the stock PSU that comes with the Ultimaker beneath the printer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
psuX=65; | |
psuY=170; | |
psuZ=40; | |
wall=3; | |
screw=2.8; | |
earsX=10; | |
earsY=40; | |
zBlocker=6; | |
$fn=32; | |
module screwSlot(radius, length, height) { | |
translate([0,-(length+radius)/2,0]) hull() { | |
cylinder(r=radius, h=height); | |
translate([0,length,0]) cylinder(r=radius, h=height); | |
} | |
} | |
module psuHolder() { | |
rotate([90,0,0]) difference() { | |
union() { | |
cube([psuX+2*(wall+earsX), earsY+wall, wall]); | |
translate([earsX, 0, 0]) cube([psuX+2*wall, earsY+wall, psuZ+wall]); | |
} | |
translate([earsX+wall,wall,-wall]) cube([psuX, earsY+wall, psuZ+wall]); | |
translate([earsX+wall,-wall,-wall]) cube([psuX, earsY+wall, psuZ-wall-zBlocker]); | |
translate([earsX/2, earsY/2+screw/2, -wall]) screwSlot(screw/2, earsY-4*wall, 3*wall); | |
translate([earsX+psuX+2*wall+earsX/2, earsY/2+screw/2, -wall]) screwSlot(screw/2, earsY-4*wall, 3*wall); | |
} | |
} | |
psuHolder(); | |
// uncomment the following line if you want to print both needed parts in one go | |
//translate([0, wall*2 + psuZ,0]) psuHolder(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment