Bladeren bron

Started work on actual z-carriages

Thomas Buck 6 jaren geleden
bovenliggende
commit
c93b362177
2 gewijzigde bestanden met toevoegingen van 43 en 2 verwijderingen
  1. 1
    0
      lib/rail_mount.scad
  2. 42
    2
      xyRepRap.scad

+ 1
- 0
lib/rail_mount.scad Bestand weergeven

11
 cutout_width = 0.5;
11
 cutout_width = 0.5;
12
 
12
 
13
 rail_mount_height = rail_y_off_1 + 6;
13
 rail_mount_height = rail_y_off_1 + 6;
14
+rail_y_off = rail_dia / 2 + rail_y_off_1;
14
 
15
 
15
 draw_rail_mount = false;
16
 draw_rail_mount = false;
16
     
17
     

+ 42
- 2
xyRepRap.scad Bestand weergeven

39
 show_z_motion = true;
39
 show_z_motion = true;
40
 
40
 
41
 show_heatbed_frame = true;
41
 show_heatbed_frame = true;
42
-show_heatbed = false;
42
+show_heatbed = true;
43
 
43
 
44
 show_xy_motion = true;
44
 show_xy_motion = true;
45
 show_x_carriage = false;
45
 show_x_carriage = false;
491
     
491
     
492
     // rail
492
     // rail
493
     color("cyan")
493
     color("cyan")
494
-    translate([0, 15, 4])
494
+    translate([0, rail_y_off, 4])
495
         rail(outer_height - slot - 8);
495
         rail(outer_height - slot - 8);
496
 }
496
 }
497
 
497
 
498
+z_carriage_wall = 10;
499
+
500
+module z_carriage() {
501
+    color("green")
502
+    translate([frame_off_x + bed_x_off - z_rail_x_off, frame_off_y + bed_y_off - rail_y_off, 0]) {
503
+        // bracket on long rail
504
+        translate([-z_carriage_wall, -z_carriage_wall, 0])
505
+            cube([z_carriage_wall, z_carriage_wall + (2 * slot), slot]);
506
+        
507
+        // bracket on short rail
508
+        translate([0, -z_carriage_wall, 0])
509
+            cube([3 * slot, z_carriage_wall, slot]);
510
+    }
511
+    
512
+    // TODO proper long bearings
513
+    color("magenta")
514
+    translate([0, 0, (slot - (2 * lm8uu_height + 1)) / 2]) {
515
+        %lm8uu();
516
+        %translate([0, 0, lm8uu_height + 1])
517
+            lm8uu();
518
+    }
519
+}
520
+
498
 module motion_z() {
521
 module motion_z() {
499
     // front left
522
     // front left
500
     translate([slot + z_rail_x_off, slot, 0])
523
     translate([slot + z_rail_x_off, slot, 0])
511
         rotate([0, 0, 180])
534
         rotate([0, 0, 180])
512
         motion_z_rail();
535
         motion_z_rail();
513
     
536
     
537
+    // front left
538
+    translate([slot + z_rail_x_off, slot + rail_y_off, bed_draw_height - bed_z_dist - slot])
539
+        z_carriage();
540
+    // front right
541
+    translate([outer_width - slot - z_rail_x_off, slot + rail_y_off, bed_draw_height - bed_z_dist - slot])
542
+        scale([-1, 1, 1])
543
+        z_carriage();
544
+    // back left
545
+    translate([slot + z_rail_x_off, outer_length - slot - rail_y_off, bed_draw_height - bed_z_dist - slot])
546
+        scale([1, -1, 1])
547
+        z_carriage();
548
+    // back right
549
+    translate([outer_width - slot - z_rail_x_off, outer_length - slot - rail_y_off, bed_draw_height - bed_z_dist - slot])
550
+        scale([-1, -1, 1])
551
+        z_carriage();
552
+    
553
+    // yellow z-motor on top
514
     translate([(outer_width - nema17_size) / 2, outer_length - slot - nema17_size - nema17_mount_wall, outer_height + nema17_mount_wall])
554
     translate([(outer_width - nema17_size) / 2, outer_length - slot - nema17_size - nema17_mount_wall, outer_height + nema17_mount_wall])
515
     rotate([180, 0, 90]) {
555
     rotate([180, 0, 90]) {
516
         color("yellow")
556
         color("yellow")

Laden…
Annuleren
Opslaan