|
@@ -31,9 +31,12 @@ x_rail_cutout_y = x_rail_dist - (2 * y_carriage_len_add);
|
31
|
31
|
x_rail_hole_off = 5;
|
32
|
32
|
x_rail_block_len = (y_carriage_length - x_rail_cutout_y) / 2;
|
33
|
33
|
|
|
34
|
+draw_x_carriage = false;
|
34
|
35
|
draw_y_carriage = false;
|
35
|
|
-draw_rail_len = 100;
|
|
36
|
+draw_y_carriage_idlers = true;
|
|
37
|
+draw_rail_len = 200;
|
36
|
38
|
|
|
39
|
+// y-carriage belt idlers
|
37
|
40
|
idler_a_blue = [ 19, 15, 5.5];
|
38
|
41
|
idler_a_red = [ 19, x_rail_dist + 15, 12.5];
|
39
|
42
|
idler_b_blue = [30.3, x_rail_dist + 15, 12.5];
|
|
@@ -132,7 +135,7 @@ module y_carriage(idler_a = [0, 0, 0], idler_b = [0, 0, 0]) {
|
132
|
135
|
|
133
|
136
|
// idlers for the corexy belts
|
134
|
137
|
translate([0, 0, y_carriage_wall]) {
|
135
|
|
- if (!draw_y_carriage) {
|
|
138
|
+ if (draw_y_carriage_idlers) {
|
136
|
139
|
translate(idler_a)
|
137
|
140
|
bearing_idler();
|
138
|
141
|
|
|
@@ -145,6 +148,49 @@ module y_carriage(idler_a = [0, 0, 0], idler_b = [0, 0, 0]) {
|
145
|
148
|
}
|
146
|
149
|
}
|
147
|
150
|
|
|
151
|
+x_carriage_width = 60;
|
|
152
|
+x_carriage_len_add = 10;
|
|
153
|
+x_carriage_wall = 10;
|
|
154
|
+x_carriage_bearing_off = 3;
|
|
155
|
+
|
|
156
|
+module x_carriage() {
|
|
157
|
+ //color("green")
|
|
158
|
+ difference() {
|
|
159
|
+ color("green")
|
|
160
|
+ cube([x_carriage_width, x_rail_dist + (2 * x_carriage_len_add), x_carriage_wall]);
|
|
161
|
+
|
|
162
|
+ for (i = [0 : 1 : 1]) {
|
|
163
|
+ translate([lm8uu_height + x_carriage_bearing_off + (i * (x_carriage_width - (2 * x_carriage_bearing_off) - lm8uu_height)), 0, ])
|
|
164
|
+ rotate([0, -90, 0]) {
|
|
165
|
+ // x-bearings
|
|
166
|
+ color("magenta")
|
|
167
|
+ %translate([0, x_carriage_len_add, 0])
|
|
168
|
+ lm8uu();
|
|
169
|
+
|
|
170
|
+ color("magenta")
|
|
171
|
+ %translate([0, x_rail_dist + x_carriage_len_add, 0])
|
|
172
|
+ lm8uu();
|
|
173
|
+
|
|
174
|
+ color("green")
|
|
175
|
+ translate([0, x_carriage_len_add, 0])
|
|
176
|
+ cylinder(d = lm8uu_outer + lm8uu_dia_add, h = lm8uu_height + lm8uu_len_add);
|
|
177
|
+
|
|
178
|
+ color("green")
|
|
179
|
+ translate([0, x_rail_dist + x_carriage_len_add, 0])
|
|
180
|
+ cylinder(d = lm8uu_outer + lm8uu_dia_add, h = lm8uu_height + lm8uu_len_add);
|
|
181
|
+
|
|
182
|
+ color("green")
|
|
183
|
+ translate([0, x_carriage_len_add, -x_carriage_width])
|
|
184
|
+ cylinder(d = lm8uu_inner + rail_dia_add, h = x_carriage_width * 2);
|
|
185
|
+
|
|
186
|
+ color("green")
|
|
187
|
+ translate([0, x_rail_dist + x_carriage_len_add, -x_carriage_width])
|
|
188
|
+ cylinder(d = lm8uu_inner + rail_dia_add, h = x_carriage_width * 2);
|
|
189
|
+ }
|
|
190
|
+ }
|
|
191
|
+ }
|
|
192
|
+}
|
|
193
|
+
|
148
|
194
|
if (draw_y_carriage) {
|
149
|
195
|
translate([(lm8uu_outer + lm8uu_dia_add) / 2 + y_carriage_rail_support, 0, 0])
|
150
|
196
|
rotate([-90, 0, 0]) {
|
|
@@ -167,4 +213,11 @@ if (draw_y_carriage) {
|
167
|
213
|
translate([(2 * y_carriage_width + y_carriage_block_width) + draw_rail_len -5, y_carriage_length, 0])
|
168
|
214
|
rotate([0, 0, 180])
|
169
|
215
|
y_carriage(idler_a_red, idler_b_red);
|
|
216
|
+
|
|
217
|
+ if (draw_x_carriage) {
|
|
218
|
+ translate([y_carriage_width + y_carriage_block_width + ((draw_rail_len - x_carriage_width) / 2), y_carriage_len_add - x_carriage_len_add, 0])
|
|
219
|
+ x_carriage();
|
|
220
|
+ }
|
|
221
|
+} else if (draw_x_carriage) {
|
|
222
|
+ x_carriage();
|
170
|
223
|
}
|