Original-Prusa-i3/Printed-Parts/scad/x-end-idler.scad

73 lines
1.9 KiB
OpenSCAD
Executable File

// PRUSA iteration3
// X end idler
// GNU GPL v3
// Josef Průša <iam@josefprusa.cz> and contributors
// http://www.reprap.org/wiki/Prusa_Mendel
// http://prusamendel.org
use <x-end.scad>
module x_end_idler_holes(){
x_end_holes();
translate([0,3.5,0]){
translate(v=[0,-22,30.25]) rotate(a=[0,-90,0]) cylinder(h = 80, r=1.5, $fn=30);
translate(v=[1.5,-22,30.25]) rotate(a=[0,-90,0]) cylinder(h = 10, r=2.8, $fn=30);
translate(v=[-21.5,-22,30.25]) rotate(a=[0,-90,0]) rotate(a=[0,0,30]) cylinder(h = 80, r=3.2, $fn=6);
}
}
module waste_pocket(){
// waste pocket
translate([-15,-1,6]) rotate([90,0,0]) cylinder( h=5, r=5.5, $fn=30);
translate([-15,-1,51]) rotate([90,0,0]) cylinder( h=5, r=5.5, $fn=30);
translate([-15,-5.9,6]) rotate([90,0,0]) cylinder( h=3, r1=5.5, r2=4.3, $fn=30);
translate([-15,-5.9,51]) rotate([90,0,0]) cylinder( h=3, r=5.5, r2=4.3, $fn=30);
//M3 thread
translate([-15,8.5,6]) rotate([90,0,0]) cylinder( h=12, r=1.4, $fn=30);
translate([-15,8.5,51]) rotate([90,0,0]) cylinder( h=12, r=1.4, $fn=30);
//M3 heads
translate([-15,11.5,6]) rotate([90,0,0]) cylinder( h=4, r=2.9, $fn=30);
translate([-15,11.5,51]) rotate([90,0,0]) cylinder( h=4, r=2.9, $fn=30);
//M3 nut traps
translate([-17.9,0.5,52-3-1.6]) cube([5.8,3.1,20]);
translate([-17.9,0.5,-10+1.5+1.6]) cube([5.8,3.1,16]);
}
module x_end_idler_base(){
union(){
difference(){
x_end_base();
x_end_idler_holes();
}
translate([-15,8.5,6]) rotate([90,0,0]) cylinder( h=11, r=6, $fn=30);
translate([-15,8.5,51]) rotate([90,0,0]) cylinder( h=11, r=6, $fn=30);
}
}
module x_end_idler(){
mirror([0,1,0])
difference(){
x_end_idler_base();
waste_pocket();
}
}
//difference(){
x_end_idler();
//translate([-15,-50,0]) cube([100,100,100]);
//}