瀏覽代碼

put rollers higher. larger lens cutout. remove supports for upside-down printing.

Thomas Buck 1 年之前
父節點
當前提交
3810f2ad07
共有 1 個文件被更改,包括 6 次插入3 次删除
  1. 6
    3
      hardware/trackball.scad

+ 6
- 3
hardware/trackball.scad 查看文件

@@ -54,7 +54,7 @@ roller_mount_tri();
54 54
 ball_dia = 38.0;
55 55
 roller_dia = 3.0;
56 56
 
57
-roller_ball_h = 8;
57
+roller_ball_h = ball_dia / 2 - 5;
58 58
 roller_count = 3;
59 59
 
60 60
 wall = 3.0;
@@ -62,6 +62,7 @@ $c = 0.1;
62 62
 $e = 0.01;
63 63
 
64 64
 cut_roller_holder = false;
65
+draw_supports = false;
65 66
 
66 67
 // #######################
67 68
 // ## Raspberry Pi Pico ##
@@ -124,8 +125,8 @@ sensor_lens_cutout_growth = 0.25;
124 125
 sensor_lens_cutout_to_chip = 6.71 - 1.60;
125 126
 sensor_lens_baseplate_h = 2.40;
126 127
 
127
-sensor_lens_d = 19.0;
128
-sensor_lens_w = 21.35;
128
+sensor_lens_d = 19.0 + 1.0;
129
+sensor_lens_w = 21.35 + 0.2;
129 130
 sensor_lens_off = 10.97;
130 131
 
131 132
 // ######################
@@ -441,6 +442,7 @@ module roller_mount_tri() {
441 442
             color("magenta")
442 443
             cylinder(d = sensor_hole_dia + 1.5, h = sensor_pcb_mount_gap);
443 444
             
445
+            if (draw_supports)
444 446
             color("black")
445 447
             translate([0, 0, -sensor_pcb_support_h])
446 448
             cylinder(d = sensor_hole_dia + 0.5, h = sensor_pcb_support_h);
@@ -449,6 +451,7 @@ module roller_mount_tri() {
449 451
         cylinder(d = sensor_hole_dia - 0.2, h = sensor_pcb_mount_gap + 1);
450 452
     }
451 453
     
454
+    if (draw_supports)
452 455
     color("black")
453 456
     for (x = [-5, 0, 5])
454 457
     for (y = [-8, 0, 6.5])

Loading…
取消
儲存