10 hole_from_back = 7.2 + 0.5;
12 bolthead_dia = 7 + 1.0;
13 bolthead_depth = 5 + 20 - 12 + 2.7/2;
15 plasfix_dia = 4.5 + 0.5 + 1.1;
16 plasfix_head = 8.7 + 0.5 + 1.1;
17 plasfix_headdep = plasfix_dia;
20 height = light_height + backspc + extra_height;
22 octagon_fudge = 1/cos(22.5);
24 echo("remain", width - bolthead_depth);
28 translate([-len/2, 0, 0])
29 cube([len, width, height]);
31 translate([xsgn * holespc/2, -1,
32 light_height - hole_from_back + extra_height]) {
34 rotate([0,0,360/8/2]) {
35 cylinder(r=bolthead_dia/2 * octagon_fudge,
36 h= bolthead_depth +1, $fn=8);
37 cylinder(r=hole_dia/2 * octagon_fudge,
43 translate([0, width/2, 0]) {
44 cylinder(r= plasfix_dia/2, h=50, $fn=20);
46 cylinder(r= plasfix_head/2, h= plasfix_sink + 1, $fn=20);
51 module BracketPrint(){