Browse Source

slight tweaks to 3d files

Thomas Buck 3 years ago
parent
commit
5dcf8d920f
3 changed files with 31 additions and 22 deletions
  1. 1
    1
      hardware/config.scad
  2. 5
    3
      hardware/fuellfix.scad
  3. 25
    18
      hardware/table.scad

+ 1
- 1
hardware/config.scad View File

@@ -82,7 +82,7 @@ axis_hole_diameter = axis_diameter + screw_gap;
82 82
 
83 83
 // MR115 2RS
84 84
 bearing_inner = axis_diameter;
85
-bearing_outer = 11.0 + 0.1;
85
+bearing_outer = 11.0 + screw_gap;
86 86
 bearing_height = 4.0;
87 87
 
88 88
 belt_length = 200;

+ 5
- 3
hardware/fuellfix.scad View File

@@ -3,12 +3,12 @@ use <table.scad>;
3 3
 use <gearbox.scad>;
4 4
 use <common.scad>;
5 5
 
6
-draw_assembly = true;
6
+draw_assembly = false;
7 7
 
8 8
 module print() {
9 9
     for (i = [1 : 4])
10 10
     translate([0, (i - 2) * (real_belt_pulley_dia + 20), 0])
11
-    belt_pulley(teethcount, real_belt_pulley_dia);
11
+    belt_pulley(teethcount, real_belt_pulley_dia, i < 3);
12 12
     
13 13
     translate([y_carriage_x + real_belt_pulley_dia, 0, y_carriage_h])
14 14
     rotate([0, 180, 0])
@@ -69,7 +69,9 @@ echo(); echo(); echo();
69 69
 if (draw_assembly) {
70 70
     fuellfix_assembly();
71 71
 } else {
72
-    print();
72
+    //belt_pulley(teethcount, real_belt_pulley_dia, 0);
73
+    x_carriage_holder();
74
+    //print();
73 75
 }
74 76
     
75 77
 echo(); echo(); echo();

+ 25
- 18
hardware/table.scad View File

@@ -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();

Loading…
Cancel
Save