8 led_d1 = 7 + 0.3; // sirsi cast LEDky
9 led_l1 = 3; // prostor pro vlozeni LEDky
11 led_angle_pitch = 36.6 - 10;
19 cylinder(r = led_d/2, h = led_l);
20 translate([0, 0, led_l]) sphere(led_d/2);
21 translate([0, 0, -led_l1]) cylinder(r=led_d1/2, h=led_l1+eps);
25 translate([0, 0, -led_l1]) cylinder(r=led_d1/2, h=led_l1-wall+eps);
31 module bottom_body() {
32 cylinder(r = tube_inner_d/2 - wall/2, h = tube_depth+eps);
33 for (ang = [0:30:360])
35 translate([tube_inner_d/2 - wall/2, 0, -eps])
36 cylinder(r = wall/2, h = tube_depth + 3*eps, $fn = 4);
42 translate([0, 0, -eps])
43 cylinder(r = tube_inner_d/2 - 3*wall/2, h = tube_depth + 3*eps);
49 cylinder(r = tube_inner_d/2 + wall, h = wall);
50 rotate([0, led_angle_pitch, 0])
51 translate([0, 0, top_h])
52 cylinder(r = led_d/2 + wall, h = eps);
60 rotate([0, led_angle_pitch, 0])
61 translate([0, 0, top_h-led_l])
66 translate([0, led_d1/2, -led_l1-eps])
67 cylinder(r1 = wall/3, h = led_l1+3*eps, r2 = 0);
70 translate([0, 0, -eps])
71 cylinder(r = tube_inner_d/2-3*wall/2, h = eps);
72 rotate([0, led_angle_pitch, 0])
73 translate([0, 0, top_h-led_l-led_l1])
74 cylinder(r = led_d1/2, h = eps);
80 rotate([0, -led_angle_pitch, 0]) {
81 translate([0, 0, -tube_depth])
90 translate([0, 0, -infty/2])
93 translate([0, 0, -infty/2])
98 rotate([0, 180, 0]) main();