-module InsertSection(){
- hull(){
- translate([-ins_orad, 0]) square([ins_th, 0.1]);
- translate([-ins_irad - topprotr_rad,
- opening_topprotr - topprotr_rad])
- circle(r=topprotr_rad, $fn=10);
+p4p5d = [edge_or + ourcirc_r, 0];
+
+P0 = [ pivot_x, pivoting_gap ];
+P4 = Q0 - p4p5d;
+P3t = [ P4[0], Q0[1] - openingedge_dia/2 + opening_protrh
+ - intooth_top_slop - ourcirc_r ];
+P2 = P4 + [ -(inside_len - ourcirc_r*2), 0 ];
+P1 = [ P2[0], P3t[1] - (inside_h + ourcirc_r*2) ];
+
+P5 = Q0 + p4p5d;
+
+P8t = [ outside_len - ourcirc_r, P5[1] ];
+P9t = P8t + [ 0, -(strap_above + strap_th + strap_below - ourcirc_r*2) ];
+
+P9b = [ P9t[0], -P9t[1] + outside_gap ];
+P8b = P9b + [ 0, outend_height ];
+
+P89eadj = [ outside_len_bot - outside_len, 0 ];
+P8eb = P8b + P89eadj;
+P9eb = P9b + P89eadj;
+
+P6t = P5 + [ 0, outside_pushh - ourcirc_r*2 ];
+P7 = [ P6t[0] + (P6t[1] - P1[1]) / outside_pushslope,
+ P1[1] ];
+
+P3a = P3t + [ -outside_push_inadj, 0 ];
+P6a = P6t + [ -outside_push_inadj, 0 ];
+
+outside_push_inadj_slope = (P3t[1]-P4[1]) / (P6a[1]-P5[1]);
+
+ribble_rad = ribble_dia/2;
+
+kit_adj_shift = -opening_height - 2.0;
+
+module ExtrusionSect(){
+ cr = openingedge_dia/2;
+ toph = opening_height/2 + opening_protrh;
+
+ for (my=[0,1]) {
+ mirror([0,my]) {
+ translate(Q0) {
+ hull(){
+ circle(r=cr, $fn=20);
+ translate([-cr,10]) square([cr*2, 1]);
+ }
+ }
+ }