Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align x belt pulley with x carriage and x idler #83

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions box_frame/configuration.scad.dist
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ width_over_thickness = 2.2;
//belt_tooth_distance = 2.5;
//belt_tooth_ratio = 0.75;
//belt_thickness = 0.8;
//belt_tooth_depth = 0.7; //added by Marcelino Bernardo
//pulley_teeth = 17; //added by Marcelino Bernardo

// T5 (strongly discouraged)
//belt_width = 6.5;
Expand Down Expand Up @@ -57,6 +59,8 @@ belt_width = 6.5;
belt_tooth_distance = 2;
belt_tooth_ratio = 0.5;
belt_thickness = 0.8;
belt_tooth_depth = 0.7; //added by Marcelino Bernardo
pulley_teeth = 20; //added by Marcelino Bernardo

// Choose bearing/bushing configuration ***************************************
// conf_b_* are in inc/conf_bushing.scad
Expand Down
6 changes: 3 additions & 3 deletions box_frame/inc/conf_bushing.scad
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ conf_b_lm12luu = [6, 10.6, 57, 0, "lm12luu bearing (12mm, double length)"];
// Select by availability, smaller is better.
bearing_623 = [10, 4, 3, 1, "623 bearing"];
bearing_624 = [13, 5, 4, 1, "624 bearing"];
bearing_625 = [16, 5, 5, 1, "625 bearing"];
//bearing_625 = [16, 5, 5, 0, "625 bearing"]; //too big to add bearing guide

// two bearings side by side - for use without bearing guides.
// Not recomended anymore
Expand All @@ -51,8 +51,8 @@ bearing_624_double = [13, 10, 4, 0, "624 bearing x2"];
bearing_623_double = [10, 8, 3, 0, "623 bearing"];

// 608 [standard skate bearings] with bearing guide
bearing_608 = [22, 7, 8, 1, "608 bearing"];
//bearing_608 = [22, 7, 8, 1, "608 bearing"];
// 608 bearings with fender washers.
// the belt brushes both against the carriage and the washers.
bearing_608_washers = [22, 10, 8, 0, "608 bearing"];
//bearing_608_washers = [22, 10, 8, 0, "608 bearing"];

17 changes: 10 additions & 7 deletions box_frame/x-end.scad
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ bearing_height = max ((bushing_z[2] > 30 ? x_box_height : (2 * bushing_z[2] + 8)

module x_end_motor(){

motor_shift = (pulley_teeth*belt_tooth_distance/PI-17)/2; //Marcelino Bernardo
mirror([0, 1, 0]) {

x_end_base([3, 3, min((bushing_xy[0] - 3) * 2, 3), 2], len=42, offset=-5, thru=false);
Expand All @@ -43,21 +44,21 @@ module x_end_motor(){
union() {
translate([-14, -16 + z_delta / 2, 24]) cube_fillet([17.5, 10.5 + z_delta, 55], center = true, vertical=[0, 0, 3, 3], top=[0, 3, 6, 3], $fn=16);
//lower arm holding outer stepper screw
translate([-10.25, -34, 9]) intersection(){
translate([-10.25, -34, 9 + motor_shift]) intersection(){
translate([0, 0, -5]) cube_fillet([10, 37, 28], center = true, vertical=[0, 0, 0, 0], top=[0, 3, 5, 3]);
translate([-10/2, 10, -26]) rotate([45, 0, 0]) cube_fillet([10, 60, 60], radius=2);
}
}
}
translate([-16, -32, 30.25]) rotate([90, 0, 0]) rotate([0, 90, 0]) nema17(places=[1, 0, 1, 1], h=11);
translate([-16, -32, 30.25 + motor_shift]) rotate([90, 0, 0]) rotate([0, 90, 0]) nema17(places=[1, 0, 1, 1], h=11);
}

// motor screw holes
translate([21-5, -21-11, 30.25]){
// belt hole
translate([-30, 11, -0.25]) cube_fillet([11, 36, 22], vertical=0, top=[0, 1, 0, 1], bottom=[0, 1, 0, 1], center = true, $fn=4);
//motor mounting holes
translate([-29.5, 0, 0]) rotate([0, 0, 0]) rotate([0, 90, 0]) nema17(places=[1, 1, 0, 1], holes=true, shadow=5.5, $fn=small_hole_segments, h=8);
translate([-29.5, 0, motor_shift]) rotate([0, 0, 0]) rotate([0, 90, 0]) nema17(places=[1, 1, 0, 1], holes=true, shadow=5.5, $fn=small_hole_segments, h=8);
}
}
//smooth rod caps
Expand Down Expand Up @@ -111,17 +112,19 @@ module x_end_base(vfillet=[3, 3, 3, 3], thru=true, len=40, offset=0){
}

module x_end_idler(){

idler_shift = idler_bearing[0] / 2 + idler_bearing[3] * 6 * single_wall_width + 0.2 - (8.5 - belt_tooth_depth);
difference() {
x_end_base(len=48 + z_delta / 3, offset=-10 - z_delta / 3);
// idler hole
translate([-20, -15 - z_delta / 2, 30]) {
#translate([-20, -15 - z_delta / 2, 30 + idler_shift]) {
rotate([0, 90, 0]) cylinder(r=m4_diameter / 2, h=33, center=true, $fn=small_hole_segments);
translate([15 - 2 * single_wall_width, 0, 0]) rotate([90, 0, 90]) cylinder(r=m4_nut_diameter_horizontal / 2, h=3, $fn=6);

}
translate([-6 - x_box_width, 11, 29.5 - (max(idler_width, 16) / 2)]) cube([x_box_width + 1, 12, 1.5 + max(idler_bearing[0], 16)]);
#translate([-6 - x_box_width, 11, 30 - (1.5 + max(idler_width, 16) / 2) + idler_shift]) cube([x_box_width + 1, 12, 1.5 + max(idler_bearing[0], 16)]);
}
%translate([-14 - xy_delta / 2, -9, 30.5 - (max(idler_width, 16) / 2)]) x_tensioner();
%translate([-14 - xy_delta / 2, -9, 30 - (max(idler_width, 16) / 2) + idler_shift]) x_tensioner();
}

module x_tensioner(len=68, idler_height=max(idler_bearing[0], 16)) {
Expand All @@ -143,7 +146,7 @@ module pushfit_rod(diameter, length){


if (idler_bearing[3] == 1) { // bearing guides
translate([-39, -60 - idler_bearing[0] / 2, 4 - bushing_xy[0]]) rotate([0, 0, 55]) {
translate([-39, -60 - 17 / 2, 4 - bushing_xy[0]]) rotate([0, 0, 55]) {
render() bearing_assy();
}
}