6 // distance between the centers of both strips
14 led_strip_w = 10 + 1.0;
15 led_strip_h = 2 * 2.5;
21 cube([strip_dist/2 + al_bar_w/2 + wall, al_bar_h + wall, body_h]);
22 translate([strip_dist/2, al_bar_h, 0])
23 scale([1, (led_strip_h/2 + wall)/(led_strip_w/2 + wall), 1])
24 cylinder(r = led_strip_w/2 + wall, h = body_h);
28 for (x = [-1, 1]) scale([x, 1, 1])
32 translate([strip_dist/2-al_bar_w/2, -eps, -eps])
33 cube([al_bar_w, al_bar_h + eps, body_h + 2*eps]);
36 translate([strip_dist/2, al_bar_h, -eps])
37 scale([1, led_strip_h/led_strip_w, 1])
38 cylinder(r = led_strip_w/2, h = body_h + 2*eps);
40 // rear half of the cylinder
41 translate([strip_dist/2-led_strip_w/2 - wall - eps, -led_strip_h-wall, -eps])
42 cube([led_strip_w + 2*wall + 2*eps, led_strip_h +wall + 2*eps, body_h + 2*eps]);
45 translate([0, 0, body_h/2]) rotate([-90, 0, 0]) {
46 translate([screw_l/2, 0, -infty/2])
47 cylinder(r = screw_hole/2, h = infty, $fn = 6);
48 translate([0, 0, -infty/2])
49 cylinder(r = screw_hole/2, h = infty, $fn = 6);