Added pulleys on Y sliders
This commit is contained in:
@@ -60,10 +60,15 @@ module nema17(depth = 23.5) {
|
||||
// belts and pulleys
|
||||
belt_pitch = 2; // 2mm tooth width for GT2 = 2mm pitch
|
||||
belt_width = 6;
|
||||
belt_thickness = 3;
|
||||
tooth_height = 2;
|
||||
belt_thickness = 1.38;
|
||||
belt_pld = 0.254; // distance between line of fixed length and tips of gear teeth
|
||||
belt_backing = 0.63 - belt_pld;
|
||||
tooth_height = 0.75;
|
||||
|
||||
module pulley(teeth, lrim, urim, belt_width, shaft=5, toothed=true) {
|
||||
pulley_od = 13;
|
||||
pulley_clearance_rad = pulley_od / 2 + 2.5;
|
||||
|
||||
module pulley(teeth, lrim, urim, belt_width, shaft=5, toothed=true, od = 0) {
|
||||
bom_item(printable=false, label=str(
|
||||
toothed ? "pulley(" : "idler(",
|
||||
"teeth=", teeth, ", ",
|
||||
@@ -73,10 +78,12 @@ module pulley(teeth, lrim, urim, belt_width, shaft=5, toothed=true) {
|
||||
"shaft=", shaft, "mm",
|
||||
")"
|
||||
));
|
||||
inner_rad = belt_pitch * teeth / TAU;
|
||||
outer_rad = inner_rad + belt_thickness;
|
||||
nominal_rad = belt_pitch * teeth / TAU;
|
||||
inner_rad = nominal_rad - belt_pld;
|
||||
outer_rad = (od > 0) ? od / 2 : nominal_rad + belt_backing;
|
||||
minor_rad = inner_rad - tooth_height;
|
||||
mid_rad = inner_rad - tooth_height / 2;
|
||||
idler_rad = nominal_rad - belt_backing;
|
||||
|
||||
dtheta = 180 / teeth;
|
||||
|
||||
@@ -105,7 +112,7 @@ module pulley(teeth, lrim, urim, belt_width, shaft=5, toothed=true) {
|
||||
linear_extrude(belt_width)
|
||||
polygon(tooth_points, convexity = teeth * 2 + 4);
|
||||
} else {
|
||||
cylinder(r = minor_rad, h = belt_width);
|
||||
cylinder(r = idler_rad, h = belt_width);
|
||||
}
|
||||
|
||||
translate([0,0,lrim + belt_width])
|
||||
@@ -117,4 +124,22 @@ module pulley(teeth, lrim, urim, belt_width, shaft=5, toothed=true) {
|
||||
}
|
||||
}
|
||||
|
||||
idler_zmargin = [ 6.4 / 2 + 1.05, 6.4 / 2 + 1.05 ];
|
||||
|
||||
module idler(height=0, toothed=false) {
|
||||
// pulley(20, 1.05, 1.05, 6.4, toothed=toothed, od=18);
|
||||
translate([0,0, height-idler_zmargin[0]])
|
||||
pulley(16, 1.05, 1.05, 6.4, shaft=3, toothed=toothed, od=13);
|
||||
}
|
||||
|
||||
active_pulley_zmargin = [ 9.5, 4.5 ];
|
||||
|
||||
module active_pulley(height=0) {
|
||||
translate([0,0,-active_pulley_zmargin[0] + height])
|
||||
pulley(16,6,1,7, od=13);
|
||||
}
|
||||
|
||||
// required distance between centers of pulley and idler for an S-bend with right angles.
|
||||
pulley_sbend_offset = (9.5 + 9.7) / 2 + 0.63;
|
||||
|
||||
//!pulley(12, 6, 2, toothed=false);
|
||||
Reference in New Issue
Block a user