|
@@ -219,14 +219,19 @@ module frame() {
|
219
|
219
|
// ###################### Mechanics ######################
|
220
|
220
|
// #######################################################
|
221
|
221
|
|
222
|
|
-rail_mount_dist = 10;
|
|
222
|
+rail_mount_dist = 12;
|
|
223
|
+
|
|
224
|
+module rail(length) {
|
|
225
|
+ cylinder(d = rail_dia, h = length);
|
|
226
|
+ echo(rail_dia=rail_dia, rail_len=length);
|
|
227
|
+}
|
223
|
228
|
|
224
|
229
|
module y_rails() {
|
225
|
230
|
// y smooth rail on blue side
|
226
|
231
|
color("cyan")
|
227
|
232
|
translate([rail_dia / 2 + rail_y_off_1, 18, -30])
|
228
|
233
|
rotate([-90, 0, 0])
|
229
|
|
- cylinder(d = rail_dia, h = outer_length - (2 * slot) - nema17_size - rail_mount_dist);
|
|
234
|
+ rail(outer_length - slot - nema17_size - (2 * rail_mount_dist));
|
230
|
235
|
|
231
|
236
|
// some lm8uu bearings on red side
|
232
|
237
|
color("yellow")
|
|
@@ -248,7 +253,7 @@ module y_rails() {
|
248
|
253
|
color("cyan")
|
249
|
254
|
translate([outer_width - (2 * slot) - rail_dia / 2 - rail_y_off_1, 18, -30])
|
250
|
255
|
rotate([-90, 0, 0])
|
251
|
|
- cylinder(d = rail_dia, h = outer_length - (2 * slot) - nema17_size - rail_mount_dist);
|
|
256
|
+ rail(outer_length - slot - nema17_size - (2 * rail_mount_dist));
|
252
|
257
|
|
253
|
258
|
// some lm8uu bearings on red side
|
254
|
259
|
color("yellow")
|
|
@@ -274,10 +279,10 @@ x_rail_dist = 50;
|
274
|
279
|
module x_rails() {
|
275
|
280
|
translate([30, 200, 15])
|
276
|
281
|
rotate([0, 90, 0])
|
277
|
|
- cylinder(d = rail_dia, h = outer_length - (4 * slot));
|
|
282
|
+ rail(outer_length - (4 * slot));
|
278
|
283
|
translate([30, 200 + x_rail_dist, 15])
|
279
|
284
|
rotate([0, 90, 0])
|
280
|
|
- cylinder(d = rail_dia, h = outer_length - (4 * slot));
|
|
285
|
+ rail(outer_length - (4 * slot));
|
281
|
286
|
}
|
282
|
287
|
|
283
|
288
|
module motion_xy() {
|