Skip to content

Commit

Permalink
Y-belt holder modified
Browse files Browse the repository at this point in the history
  • Loading branch information
akukan authored Aug 8, 2016
1 parent 9b9c566 commit a4e7ead
Showing 1 changed file with 86 additions and 82 deletions.
168 changes: 86 additions & 82 deletions Printed-Parts/scad/y-belt-holder.scad
Original file line number Diff line number Diff line change
@@ -1,82 +1,86 @@
// PRUSA iteration3
// Y belt holder
// GNU GPL v3
// Josef Průša <[email protected]> and contributors
// http://www.reprap.org/wiki/Prusa_Mendel
// http://prusamendel.org

module face_plate(){
// face plate
translate([ 0, 0, -1 ]) cube([ 25, 26, 4 ]);
translate([ -8, 22, -1 ]) cube([ 49, 4, 4 ]);

}

module upper_shape()
{
union(){
difference(){
union(){
// upper body
translate([ 18.5, 11, 2 ]) cube([ 6.5, 15, 12 ]);
translate([ 0, 11, 2 ]) cube([ 5.5, 15, 12 ]);
translate([ -8, 22, 2 ]) cube([ 49, 4, 12 ]);
translate([ 0, 13, 2 ]) cube([ 25, 13, 12 ]);
translate([ 25, 16, -1 ]) cube([ 15.5, 10, 15 ]);
}
translate([ 12, 18, 0 ]) cylinder( h = 14, r = 7.2, $fn=30 ); // upper belt cutaway
}

translate([ 5.5, 12.5, 0 ]) cylinder( h = 14, r = 1.5, $fn=30 );
translate([ 18.5, 12.5, 0 ]) cylinder( h = 14, r = 1.5, $fn=30 );
translate([ 4.5, 7.2, 0 ]) cylinder( h = 14, r = 1.7, $fn=30 );
translate([ 20.5, 7.4, 0 ]) cylinder( h = 14, r = 1.5, $fn=30 );

translate([ 0, 0, 3 ] ) cube([ 4.5, 8.9, 11 ]);
translate([ 20.5, 0, 2 ] ) cube([ 4.5, 8.9, 12] );
translate([ 1, 0, 3 ] ) cube([ 4.5, 7, 11 ]);
translate([ 19.5, 0, 2 ] ) cube([ 4.5, 7, 12 ]);
translate([ -8, 16, -1 ]) cube([ 8, 10, 15 ]);
}
}


module screw_holes(){
translate( [ -4 , 28 , 7.5 ] ) rotate([90,0,0]) cylinder( h = 10, r = 1.6, $fn=30); //screw hole
translate( [ 37 , 28 , 7.5 ] ) rotate([90,0,0]) cylinder( h = 10, r = 1.6, $fn=30); //screw hole
translate( [ -4 , 22 , 7.5 ] ) rotate([90,0,0]) cylinder( h = 10, r = 2.9, $fn=30); //screw hole
translate( [ 37 , 22 , 7.5 ] ) rotate([90,0,0]) cylinder( h = 10, r = 2.9, $fn=30); //screw hole
}

module belt_insert_chamfer(){
translate([ -2, 10, 10.5 ]) rotate([45,0,0]) cube([ 28, 5, 5 ]);
translate([ 3, -2, 14 ]) rotate([0,45,0]) cube([ 5, 12, 5 ]);
translate([ 15, -2, 14 ]) rotate([0,45,0]) cube([ 5, 12, 5 ]);

translate([ 4, 10, 15 ]) rotate([0,45,0]) cube([ 5, 7, 5 ]);
translate([ 13, 10, 15 ]) rotate([0,45,0]) cube([ 5, 6, 5 ]);
}

module belt_holders(){
translate([ 13, 5, 0 ]) cylinder( h=11, r=3.5, $fn=30 ); // lower belt holder
translate([ 12, 18, 0 ]) cylinder( h=11, r=3.5, $fn=30 ); // upper belt holder

translate([ 13, 5, 11 ]) cylinder( h=3 , r1=3.5, r2=2.5, $fn=30 ); // lower belt holder cone
translate([ 12, 18, 11 ]) cylinder( h=3, r1=3.5, r2=2.5, $fn=30 ); // upper belt holder cone

}


module final_part(){
union(){
difference(){
upper_shape();
belt_insert_chamfer();
screw_holes();
}
belt_holders();
face_plate();
}
}

final_part();
// PRUSA iteration3
// Y belt holder
// GNU GPL v3
// Josef Průša <[email protected]> and contributors
// http://www.reprap.org/wiki/Prusa_Mendel
// http://prusamendel.org

module main_body()
{
translate([-1, -1, -1 ]) cube([ 30, 27, 15 ]);
translate([-10, 16, -1 ]) cube([ 50.5, 10, 15 ]);
translate([-10, 23, -1 ]) cube([ 52, 3, 15 ]);
}

module belt_holders()
{

translate([ 16, 18, 0 ]) cylinder( h=11, r=3.5, $fn=30 ); // upper belt holder
translate([ 16, 18, 11 ]) cylinder( h=3, r1=3.5, r2=2.5, $fn=30 ); // upper belt holder cone

translate([ 12, 5, 0 ]) cylinder( h=11, r=3.5, $fn=30 ); // lower belt holder
translate([ 12, 5, 11 ]) cylinder( h=3 , r1=3.5, r2=2.5, $fn=30 ); // lower belt holder cone
}

module screws()
{
translate( [ -2.5 , 28 , 7.5 ] ) rotate([90,0,0]) cylinder( h = 10, r = 1.6, $fn=30); //screw hole
translate( [ -5.5 , 28 , 7.5 ] ) rotate([90,0,0]) cylinder( h = 10, r = 1.6, $fn=30); //screw hole
translate( [ -2.5, 22 , 7.5 ] ) rotate([90,0,0]) cylinder( h = 7, r = 3, $fn=30); //screw hole - head
translate( [ -5.5 , 22 , 7.5 ] ) rotate([90,0,0]) cylinder( h = 10, r = 3, $fn=30); //screw hole - head

translate( [ 35.5 , 28 , 7.5 ] ) rotate([90,0,0]) cylinder( h = 10, r = 1.6, $fn=30); //screw hole
translate( [ 38.5 , 28 , 7.5 ] ) rotate([90,0,0]) cylinder( h = 10, r = 1.6, $fn=30); //screw hole
translate( [ 35.5 , 22 , 7.5 ] ) rotate([90,0,0]) cylinder( h = 10, r = 3, $fn=30); //screw hole - head
translate( [ 38.5 , 22 , 7.5 ] ) rotate([90,0,0]) cylinder( h = 10, r = 3, $fn=30); //screw hole - head

translate([-5.5, 21, 5.9 ]) cube([ 3, 6, 3.2 ]);
translate([35.5, 21, 5.9 ]) cube([ 3, 6, 3.2 ]);

translate([-5.5, 15, 4.5 ]) cube([ 3, 7, 6 ]);
translate([35.5, 15, 4.5 ]) cube([ 6, 7, 6 ]);
}

belt_holders();

difference()
{
main_body();

translate([ 16, 18, 2 ]) cylinder( h = 16, r = 7.2, $fn=30 ); // upper belt space cutaway
translate([ 12, 5, 2 ]) cylinder( h = 16, r = 7.2, $fn=30 ); // lower belt space cutaway

translate([-20, 9, 2]) cube([ 28, 2.1, 16 ]);
rotate([0,0,40]) translate([11, 1, 2 ]) cube([ 10, 4, 16 ]);

translate([10, 7, 2 ]) cube([ 32, 2.1, 16 ]);

translate([16, 8, 11 ]) rotate([45,0,0]) cube([ 15, 5, 5 ]);
translate([-2, 10, 11 ]) rotate([45,0,0]) cube([ 10, 5, 5 ]);

screws();



// print part reinforcement
translate([1,0.5,-0.5]) cube([0.1,5,13]);
translate([3,0.5,-0.5]) cube([0.1,5,13]);
translate([21.2,0.5,-0.5]) cube([0.1,4,12]);
translate([23.5,0.5,-0.5]) cube([0.1,4,12]);
translate([25.5,0.5,-0.5]) cube([0.1,4,12]);
translate([11.5,3,-0.5]) cube([1,0.3,12]);
translate([10,5,-0.5]) cube([4,0.3,12]);
translate([11.5,6.5,-0.5]) cube([1,0.3,12]);
translate([15.5,16,-0.5]) cube([1,0.3,12]);
translate([14,18,-0.5]) cube([4,0.3,12]);
translate([15.5,20,-0.5]) cube([1,0.3,12]);


// corner cutoff
translate([30,-13,-2]) rotate([0,0,45]) cube([10,10,20]);
translate([-2,-13,-2]) rotate([0,0,45]) cube([10,10,20]);


}


0 comments on commit a4e7ead

Please sign in to comment.