module stepperHoles(){
translate([11.5,11.5,0])
cylinder (h=15, d=3, $fs=0.01, center=true);
translate([-11.5,11.5,0])
cylinder (h=15, d=3, $fs=0.01, center=true);
translate([11.5,-11.5,0])
cylinder (h=15, d=3, $fs=0.01, center=true);
translate([-11.5,-11.5,0])
cylinder (h=15, d=3, $fs=0.01, center=true);
cylinder(h=15, d=15, $fs=0.01, center=true);
}
module yAxisRods(){
rotate([90,0,90])
translate([-37,-2,-22])
cylinder(d=3, h=110, $fs=0.01, center=true);
rotate([90,0,90])
translate([37,-2,-22])
cylinder(d=3, h=110, $fs=0.01, center=true);
}
module hexagon(length, depth = 2) {
width = 2 * length * tan(30);
union(){
cube(size = [ length * 2, width, depth ], center = true);
rotate(a = [ 0, 0, 60 ]) {
cube(size = [ length * 2, width, depth ], center = true);
}
rotate(a = [ 0, 0, -60 ]) {
cube(size = [ length * 2, width, depth ], center = true);
}
}
}
module outerBearings(){
translate([-4,4,0]){
cylinder(d=3.175, h=15, $fs = 0.01, center=true);
translate([0,0,-2])
hexagon(3.25, 7);
}
translate([4,-4,0]){
cylinder(d=3.175, h=15, $fs = 0.01, center=true);
translate([0,0,-2])
hexagon(3.25, 7);
}
}
module plate()
{
difference(){
translate([-5,0,0])
cube([135,125,10], center=true);
translate([47,47,0])
stepperHoles();
translate([47,-47,0])
stepperHoles();
translate([47,47,-15])
cube([28.2,28.2,32], center=true);
translate([47,-47,-15])
cube([28.2,28.2,32], center=true);
translate([-15,0,0])
cube([90,90,15], center=true);
yAxisRods();
translate([-64,54,0])
outerBearings();
translate([-64,-54,0])
rotate([0,0,90])
outerBearings();
}
}
plate();
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.