|
@@ -38,17 +38,24 @@ module belt_pulley(tc, dia, for_motor = 1) {
|
38
|
38
|
// motor shaft hole
|
39
|
39
|
translate([0, 0, -1])
|
40
|
40
|
cylinder(d = belt_pulley_axis_hole, h = belt_pulley_width + 2);
|
|
41
|
+
|
|
42
|
+ // grub screw
|
|
43
|
+ for (i = [0, 90])
|
|
44
|
+ translate([0, 0, belt_pulley_width / 2])
|
|
45
|
+ rotate([90, 0, i])
|
|
46
|
+ cylinder(d = belt_pulley_fix_dia, h = dia / 2 + 1);
|
41
|
47
|
} else {
|
42
|
48
|
// bearing hole
|
43
|
49
|
translate([0, 0, -1])
|
44
|
50
|
cylinder(d = bearing_outer, h = belt_pulley_width + 2);
|
45
|
|
- }
|
46
|
51
|
|
47
|
|
- // grub screw
|
48
|
|
- for (i = [0, 90])
|
49
|
|
- translate([0, 0, belt_pulley_width / 2])
|
50
|
|
- rotate([90, 0, i])
|
51
|
|
- cylinder(d = belt_pulley_fix_dia, h = dia / 2 + 1);
|
|
52
|
+ // grub screw
|
|
53
|
+ for (i = [0, 90, 180, 270])
|
|
54
|
+ translate([0, 0, (i > 90 ? 1 : -1) * 2])
|
|
55
|
+ translate([0, 0, belt_pulley_width / 2])
|
|
56
|
+ rotate([90, 0, i])
|
|
57
|
+ cylinder(d = belt_pulley_fix_dia, h = dia / 2 + 1);
|
|
58
|
+ }
|
52
|
59
|
}
|
53
|
60
|
}
|
54
|
61
|
|
|
@@ -303,7 +310,15 @@ module y_carriage(axis = 0) {
|
303
|
310
|
|
304
|
311
|
color("green")
|
305
|
312
|
difference() {
|
306
|
|
- cube([y_carriage_x, y_carriage_y, y_carriage_h]);
|
|
313
|
+ union() {
|
|
314
|
+ cube([y_carriage_x, y_carriage_y, y_carriage_h]);
|
|
315
|
+
|
|
316
|
+ translate([y_carriage_x / 2, y_carriage_y / 2, 0])
|
|
317
|
+ for (i = [-1, 1])
|
|
318
|
+ translate([0, i * (y_carriage_y + belt_mount_depth) / 2, 0])
|
|
319
|
+ scale([1, -i, 1])
|
|
320
|
+ belt_mount(y_carriage_h);
|
|
321
|
+ }
|
307
|
322
|
|
308
|
323
|
translate([y_carriage_x / 2, y_carriage_y / 2, 0])
|
309
|
324
|
plate_holes(y_carriage_h);
|
|
@@ -330,15 +345,6 @@ module y_carriage(axis = 0) {
|
330
|
345
|
|
331
|
346
|
%translate([y_carriage_x / 2, y_carriage_y / 2, y_carriage_h])
|
332
|
347
|
y_carriage_posts();
|
333
|
|
-
|
334
|
|
- color("green")
|
335
|
|
- translate([y_carriage_x / 2, -belt_mount_depth / 2, 0])
|
336
|
|
- belt_mount(y_carriage_h);
|
337
|
|
-
|
338
|
|
- color("green")
|
339
|
|
- translate([y_carriage_x / 2, y_carriage_y + belt_mount_depth / 2, 0])
|
340
|
|
- scale([1, -1, 1])
|
341
|
|
- belt_mount(y_carriage_h);
|
342
|
348
|
}
|
343
|
349
|
|
344
|
350
|
module y_axis() {
|
|
@@ -479,10 +485,11 @@ module xy_table() {
|
479
|
485
|
//y_carriage_post();
|
480
|
486
|
//x_carriage_holder();
|
481
|
487
|
|
482
|
|
-//y_carriage(0);
|
|
488
|
+translate([0, -50, 0])
|
|
489
|
+y_carriage(0);
|
483
|
490
|
//y_carriage(1);
|
484
|
491
|
//y_carriage(2);
|
485
|
|
-x_carriage();
|
|
492
|
+//x_carriage();
|
486
|
493
|
|
487
|
494
|
//y_axis();
|
488
|
495
|
//x_axis();
|