+ translate([w*1.5, 0, 0]) {
+ FlatArc($fa=1, main_cx,0, unbent_rad, unbent_rad+w,
+ 180-unbent_subang, 180);
+ translate([corner_x, corner_y]) rotate([0,0,-unbent_subang]) {
+ rotate([0,0,10])
+ translate([w*0.2,0,0])
+ translate([-(w + deviationrad), -0.1])
+ square(size=[w + deviationrad, w+0.1]);
+ FlatArc(-deviationrad + handlerad, w,
+ handlerad, handlerad+w,
+ 180-rad2deg(handlelen/handlerad), 180+rad2deg(w/handlerad),
+ $fa=0.25, $fn=60);
+ }
+ }
+ mirror([1,0,0]) translate([w*1.5, 0, 0])
+ FlatArc($fa=1, main_cx,0, unbent_rad, unbent_rad+w,
+ 180-(unbent_subang + rad2deg((handlelen+w)/unbent_rad)), 180);
+ }
+}
+
+module SplitPinCavity(w=1.5, holeminrad=2.50, thick=3, deviationrad=1.5,
+ mainlen=15, slop=0.5, insertby = 5) {
+ smallgap2 = holeminrad;
+ biggap2 = smallgap2 + deviationrad + slop;
+ toegap2 = w*1.5 + slop;
+ toeend = -mainlen-insertby;
+
+ translate([0,thick/2,0]) rotate([90,0,0]) {
+ linear_extrude(height = thick + slop*2) {
+ for (xmir=[0,1]) mirror([xmir,0]) {
+ polygon([[-0.1, 1],
+ [(smallgap2+biggap2)/2, 1],
+ [smallgap2, -insertby],
+ [biggap2, -insertby],
+ [toegap2, toeend-1],
+ [-0.1, toeend-1]]);
+ }