-module Base(){ Object(0); }
-module Front(){ Object(1); }
-module Back(){ Object(2); }
+module Base(){
+ 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 Front(){
+ %ObjectJoins(1);
+ rotate([0, 90-beta, 0])
+ translate([0, 0, ppxl])
+ rotate([0,0,90])
+ cube([front_width, front_height, thicks[1]]);
+}
+
+module Back(){
+ ObjectJoins(2);
+}