15 led_d = (pow(led_w/2, 2) - pow(led_h, 2))
23 cube([wall, vert_l + wall, holder_w]);
24 // translate([-10, -wall, 0])
25 // cube([10+wall, wall+eps, holder_w]);
27 for (x = [0, cable_w - 2*cable_h])
28 translate([0, cable_off+x, 0])
29 cylinder(r = cable_h + wall, h = holder_w, $fn = 64);
31 translate([-led_w/2, led_d, 0])
32 cylinder(r = led_d + led_h + wall, h = holder_w);
37 translate([-50, 0, -50/2]) cube(50);
40 for (x = [0, screw_l])
41 translate([-eps, screw_off + x, holder_w/2])
44 cylinder(r = screw_hole/2, h = wall + 2*eps, $fn = 6);
48 for (x = [0, cable_w - 2*cable_h])
49 translate([0, cable_off+x, -eps])
50 cylinder(r = cable_h, h = holder_w + 2*eps, $fn = 64);
54 translate([-led_w/2, led_d, -eps])
55 cylinder(r = led_d + led_h, h = holder_w + 2*eps);
56 translate([-50, -50/2, -50/2]) cube(50);
58 // strip off the vertical part of led strip cylinder
59 translate([wall, -50+screw_off, -50/2]) cube(50);