Browse Source

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

Thomas Buck 1 year ago
parent
commit
3810f2ad07
1 changed files with 6 additions and 3 deletions
  1. 6
    3
      hardware/trackball.scad

+ 6
- 3
hardware/trackball.scad View File

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

Loading…
Cancel
Save