Close

Yeah It Fits

A project log for Reprap Busby

What's the future of 3D printing technology? Wearables. Therefore, a wearable 3D printer.

benchoffBenchoff 07/04/2015 at 16:340 Comments

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);    
}

/** Create a hexagon. * * The 'size' parameter specifies the 
distance from the center of the * hexagon to the center of 
one of the six straight edges. The 'depth' * parameter specifiesthe size in the Z axis
**/

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