Browse Source

Started with Z-Motion

Thomas Buck 6 years ago
parent
commit
39cedf003c
2 changed files with 59 additions and 20 deletions
  1. 2
    2
      lib/extruder.scad
  2. 57
    18
      xyRepRap.scad

+ 2
- 2
lib/extruder.scad View File

113
     
113
     
114
     // NEMA17 mockup
114
     // NEMA17 mockup
115
     color("gray")
115
     color("gray")
116
-    %translate([-nema17_size / 2, 30 + 10, extruder_height_m])
116
+    %translate([-nema17_size / 2, 40 + 10, extruder_height_m])
117
         rotate([90, 0, 0])
117
         rotate([90, 0, 0])
118
-        nema17(30);
118
+        nema17(40);
119
 }
119
 }
120
 
120
 
121
 module extruder_holder() {
121
 module extruder_holder() {

+ 57
- 18
xyRepRap.scad View File

51
 include <lib/extruder.scad>
51
 include <lib/extruder.scad>
52
 
52
 
53
 module gt2_belt(length) {
53
 module gt2_belt(length) {
54
-    difference() {
55
-        belting("straight", "GT2_2mm", belt_length = length);
56
-        translate([-5, -5, 6])
57
-            cube([length + 10, 10, 10]);
58
-    }
54
+    //difference() {
55
+    //    belting("straight", "GT2_2mm", belt_length = length);
56
+    //    translate([-5, -5, 6])
57
+    //        cube([length + 10, 10, 10]);
58
+    //}
59
 }
59
 }
60
 
60
 
61
 // #######################################################
61
 // #######################################################
88
 }
88
 }
89
 
89
 
90
 module lower_frame(double) {
90
 module lower_frame(double) {
91
-    // bottom frame
92
-    translate([slot + slot_off, 0, 0])
93
-        tslot_x(slot, outer_width - (2 * (slot + slot_off)));
94
-    
95
     if (double) {
91
     if (double) {
92
+        translate([slot + slot_off, 0, slot])
93
+            rotate([-90, 0, 0])
94
+            tslot_2_x(slot, outer_width - (2 * (slot + slot_off)));
95
+        
96
         translate([slot + slot_off, outer_length - slot, slot])
96
         translate([slot + slot_off, outer_length - slot, slot])
97
             rotate([-90, 0, 0])
97
             rotate([-90, 0, 0])
98
             tslot_2_x(slot, outer_width - (2 * (slot + slot_off)));
98
             tslot_2_x(slot, outer_width - (2 * (slot + slot_off)));
102
         translate([outer_width - slot, slot + slot_off, 0])
102
         translate([outer_width - slot, slot + slot_off, 0])
103
             tslot_2_y(slot, outer_length - (2 * (slot + slot_off)));
103
             tslot_2_y(slot, outer_length - (2 * (slot + slot_off)));
104
     } else {
104
     } else {
105
+        translate([slot + slot_off, 0, 0])
106
+            tslot_x(slot, outer_width - (2 * (slot + slot_off)));
107
+        
105
         translate([slot + slot_off, outer_length - slot, 0])
108
         translate([slot + slot_off, outer_length - slot, 0])
106
             tslot_x(slot, outer_width - (2 * (slot + slot_off)));
109
             tslot_x(slot, outer_width - (2 * (slot + slot_off)));
107
         
110
         
155
         slot_angle_connector();
158
         slot_angle_connector();
156
     translate([slot + slot_off, outer_length - slot, slot + slot_off])
159
     translate([slot + slot_off, outer_length - slot, slot + slot_off])
157
         slot_angle_connector();
160
         slot_angle_connector();
158
-    translate([slot + slot_off, 0, outer_height - slot - slot_off])
161
+    translate([slot + slot_off, 0, outer_height - slot - slot_off - slot])
159
         rotate([0, 90, 0])
162
         rotate([0, 90, 0])
160
         slot_angle_connector();
163
         slot_angle_connector();
161
     translate([slot + slot_off, outer_length - slot, outer_height - slot - slot_off - slot])
164
     translate([slot + slot_off, outer_length - slot, outer_height - slot - slot_off - slot])
167
     translate([outer_width - slot - slot_off, outer_length - slot, slot + slot_off])
170
     translate([outer_width - slot - slot_off, outer_length - slot, slot + slot_off])
168
         rotate([0, -90, 0])
171
         rotate([0, -90, 0])
169
         slot_angle_connector();
172
         slot_angle_connector();
170
-    translate([outer_width - slot - slot_off, 0, outer_height - slot - slot_off])
173
+    translate([outer_width - slot - slot_off, 0, outer_height - slot - slot_off - slot])
171
         rotate([0, 180, 0])
174
         rotate([0, 180, 0])
172
         slot_angle_connector();
175
         slot_angle_connector();
173
     translate([outer_width - slot - slot_off, outer_length - slot, outer_height - slot - slot_off - slot])
176
     translate([outer_width - slot - slot_off, outer_length - slot, outer_height - slot - slot_off - slot])
288
         rotate([0, 90, 0])
291
         rotate([0, 90, 0])
289
         rail(outer_width - (4 * slot));
292
         rail(outer_width - (4 * slot));
290
     
293
     
291
-    translate([x_carriage_pos, y_carriage_pos - x_carriage_len_add, slot / 2])
292
-        x_carriage();
294
+    //translate([x_carriage_pos, y_carriage_pos - x_carriage_len_add, slot / 2])
295
+    //    x_carriage();
293
 }
296
 }
294
 
297
 
295
 module motion_xy() {
298
 module motion_xy() {
426
 
429
 
427
 module heatbed() {
430
 module heatbed() {
428
     translate([slot + frame_off_x, slot + frame_off_y, bed_draw_height]) {
431
     translate([slot + frame_off_x, slot + frame_off_y, bed_draw_height]) {
429
-        heatbed_plate();
432
+        //%heatbed_plate();
430
         
433
         
431
         // t-slots as heatbed frame
434
         // t-slots as heatbed frame
432
         translate([bed_x_off, bed_y_off, -slot - bed_z_dist])
435
         translate([bed_x_off, bed_y_off, -slot - bed_z_dist])
453
     }
456
     }
454
 }
457
 }
455
 
458
 
459
+module motion_z() {
460
+    // front left bottom
461
+    color("green")
462
+    translate([(2 * slot) + 60, slot, slot / 2 + 5])
463
+        rotate([-90, 0, 90])
464
+        rail_mount(slot);
465
+    // front left top
466
+    color("green")
467
+    translate([(2 * slot) + 60, slot, outer_height - slot / 2 + 5 - slot])
468
+        rotate([-90, 0, 90])
469
+        rail_mount(slot);
470
+    // front left rail
471
+    color("cyan")
472
+    translate([slot + 60, slot + 15, 6])
473
+        rail(outer_height - slot - 12);
474
+    
475
+    // front right bottom
476
+    color("green")
477
+    translate([outer_width - (2 * slot), slot, slot / 2 + 5])
478
+        rotate([-90, 0, 90])
479
+        rail_mount(slot);
480
+    // front right top
481
+    color("green")
482
+    translate([outer_width - (2 * slot), slot, outer_height - slot / 2 + 5 - slot])
483
+        rotate([-90, 0, 90])
484
+        rail_mount(slot);
485
+    // front right rail
486
+    color("cyan")
487
+    translate([outer_width - slot - 60, slot + 15, 6])
488
+        rail(outer_height - slot - 12);
489
+}
490
+
456
 // #######################################################
491
 // #######################################################
457
 // ###################### Extruders ######################
492
 // ###################### Extruders ######################
458
 // #######################################################
493
 // #######################################################
459
 
494
 
460
 module extruders() {
495
 module extruders() {
496
+    w = nema17_size + 25;
461
     translate([0, -bracket_height, outer_height - slot])
497
     translate([0, -bracket_height, outer_height - slot])
462
     rotate([0, 0, 90]) {
498
     rotate([0, 0, 90]) {
463
-        translate([0, -(outer_width + (nema17_size + 10)) / 4, 0])
499
+        translate([0, -(outer_width + w) / 4, 0])
464
             extruder(slot);
500
             extruder(slot);
465
-        translate([0, -(outer_width + (nema17_size + 10)) / 2, 0])
501
+        translate([0, -(outer_width + w) / 2, 0])
466
             extruder(slot);
502
             extruder(slot);
467
-        translate([0, -(outer_width + (nema17_size + 10)) * 3 / 4, 0])
503
+        translate([0, -(outer_width + w) * 3 / 4, 0])
468
             extruder(slot);
504
             extruder(slot);
469
     }
505
     }
470
 }
506
 }
474
 // ########################################################
510
 // ########################################################
475
 
511
 
476
 frame();
512
 frame();
513
+
477
 motion_xy();
514
 motion_xy();
478
-extruders();
515
+//extruders();
516
+
517
+motion_z();
479
 heatbed();
518
 heatbed();

Loading…
Cancel
Save