浏览代码

Started work on actual z-carriages

Thomas Buck 6 年前
父节点
当前提交
c93b362177
共有 2 个文件被更改,包括 43 次插入2 次删除
  1. 1
    0
      lib/rail_mount.scad
  2. 42
    2
      xyRepRap.scad

+ 1
- 0
lib/rail_mount.scad 查看文件

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

+ 42
- 2
xyRepRap.scad 查看文件

@@ -39,7 +39,7 @@ show_extruders = false;
39 39
 show_z_motion = true;
40 40
 
41 41
 show_heatbed_frame = true;
42
-show_heatbed = false;
42
+show_heatbed = true;
43 43
 
44 44
 show_xy_motion = true;
45 45
 show_x_carriage = false;
@@ -491,10 +491,33 @@ module motion_z_rail() {
491 491
     
492 492
     // rail
493 493
     color("cyan")
494
-    translate([0, 15, 4])
494
+    translate([0, rail_y_off, 4])
495 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 521
 module motion_z() {
499 522
     // front left
500 523
     translate([slot + z_rail_x_off, slot, 0])
@@ -511,6 +534,23 @@ module motion_z() {
511 534
         rotate([0, 0, 180])
512 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 554
     translate([(outer_width - nema17_size) / 2, outer_length - slot - nema17_size - nema17_mount_wall, outer_height + nema17_mount_wall])
515 555
     rotate([180, 0, 90]) {
516 556
         color("yellow")

正在加载...
取消
保存