+ xmin = pr[0] - eclip_rhs_offset - thicks[2];
+ xmax = pp[0] + eclip_rhs_offset + thicks[1]
+ + eclip_prong_th * (1/cos(beta) - 1)
+ + eclip_base_offset * tan(beta);
+ intersection(){
+ ObjectJoins(0);
+ translate([xmin,
+ -1,
+ -50])
+ cube([xmax - xmin,
+ front_width + 2,
+ 300]);
+ }
+ translate([xmin,
+ 0,
+ -eclip_base_offset - thicks[0]])
+ cube([xmax - xmin,
+ front_width,
+ thicks[0]]);
+}
+
+module FrontPattern(){
+ ystride = front_hex_stride;
+ xstride = front_hex_stride * cos(30) * 2;
+ difference(){
+ square([front_width,
+ front_height - eclip_wall_offset + thicks[1]]);
+ for (xi=[ 0 : 10 ])
+ translate([xi * xstride, 0])
+ for (yi=[ 0 : 10 ])
+ translate([0, yi * ystride])
+ for (dv=[ [0,0],
+ [xstride/2, ystride/2]
+ ])
+ translate(dv)
+ circle(r= front_hex_dia/2, $fn=6);
+ }