Fixes for 10mm bushings
authorVáclav 'Ax' Hůla <axtheb@gmail.com>
Tue, 30 Apr 2013 13:05:36 +0000 (15:05 +0200)
committerVáclav 'Ax' Hůla <axtheb@gmail.com>
Tue, 30 Apr 2013 13:05:36 +0000 (15:05 +0200)
box_frame/x-carriage.scad
box_frame/x-end.scad

index 48e7e05..f0c6dff 100644 (file)
@@ -58,7 +58,7 @@ module x_carriage(){
             }
             //Ensure upper bearing can be inserted cleanly
             rotate([0, 0, 90]) {
-                linear_negative(bushing_carriage);
+                linear_negative(bushing_carriage, carriage_l);
             }
             //Same for lower bearing
             translate([xaxis_rod_distance, 0, 0]) rotate([0, 0, 90]) {
index a07c71b..f35317b 100644 (file)
@@ -14,7 +14,7 @@ use <y-drivetrain.scad>
 //height and width of the x blocks depend on x smooth rod radius
 x_box_height = 52 + 2 * bushing_xy[0];
 x_box_width = (bushing_xy[0] <= 4) ? 17.5 : bushing_xy[0] * 2 + 9.5;
-bearing_height = (bushing_z[2] > 30 ? x_box_height : (2 * bushing_z[2] + 8));
+bearing_height = max ((bushing_z[2] > 30 ? x_box_height : (2 * bushing_z[2] + 8)), x_box_height);
 
 module x_end_motor(){