4 yellow_ring_d = 19.5 + 0.5;
15 rectangle_w2h = 1.777;
17 rect_d2 = rectangle_h * tan(view_angle/2);
18 rect_x = 2*rect_d2/sqrt(1+rectangle_w2h*rectangle_w2h);
19 rect_y = rectangle_w2h * rect_x;
24 cylinder(r = yellow_ring_d/2 + wall, h = yellow_ring_h);
25 translate([0, 0, hood_h-eps])
26 cylinder(r = hood_top_d/2 + wall, h = eps);
28 translate([0, 0, -eps])
29 cylinder(r = yellow_ring_d/2, h = yellow_ring_h+2*eps);
32 translate([0, 0, yellow_ring_h])
33 cylinder(r = yellow_ring_d/2, h = eps);
34 translate([0, 0, hood_h])
35 cylinder(r = hood_top_d/2, h = eps);
38 cylinder(r = lens_d/2, h = eps);
39 // translate([0, 0, rectangle_h])
40 // cylinder(r = rect_d2 - 5, h = eps);
41 translate([-rect_x/2, -rect_y/2, rectangle_h])
42 cube([rect_x, rect_y, eps]);