5 openingedge_dia = 1.34;
18 outside_pushslope = 1.4;
22 opening_protr_slop = 0.1;
24 intooth_top_slop = 0.1;
34 inside_h = opening_height/2 - opening_protrh - inside_h_xgap/2;
36 edge_or = openingedge_dia/2 + opening_protr_slop;
38 Q0 = [ openingedge_dia/2,
39 openingedge_dia/2 + opening_height/2 ];
41 p4p5d = [edge_or + ourcirc_r, 0];
43 P0 = [ pivot_x, pivoting_gap ];
45 P3 = [ P4[0], Q0[1] - openingedge_dia/2 + opening_protrh
46 - intooth_top_slop - ourcirc_r ];
47 P2 = P4 + [ -(inside_len - ourcirc_r*2), 0 ];
48 P1 = [ P2[0], P3[1] - (inside_h + ourcirc_r*2) ];
49 P9 = [ outside_len - ourcirc_r, outside_gap/2 + ourcirc_r ];
50 P8 = P9 + [ 0, outend_height - ourcirc_r*2 ];
52 P6 = P5 + [ 0, outside_pushh - ourcirc_r*2 ];
53 P7 = [ P6[0] + (P6[1] - P1[1]) / outside_pushslope,
56 module ExtrusionSect(){
57 cr = openingedge_dia/2;
58 toph = opening_height/2 + opening_protrh;
65 translate([-cr,10]) square([cr*2, 1]);
70 translate([-opening_depth, -toph]) {
73 square([opening_depth+6, toph*2+10]);
74 square([opening_depth+2, toph*2]);
83 circle(r = ourcirc_r, $fn=10);
91 PsHull([P0,P1,P2,P5,P8,P9]);
94 circle(r=edge_or, $fn=20);
95 translate([0,10]) circle(r=edge_or, $fn=20);
101 module LeverSectTop(){
104 translate([pivot_x,0]) circle(r= pivot_r + pivot_slop, $fn=20);
108 module LeverSectBot(){
112 translate([pivot_x,0]) circle(r=pivot_r, $fn=20);
117 translate([0,0,-5]) color("white") ExtrusionSect();
123 linear_extrude(height=width, convexity=100) LeverSectTop();
127 linear_extrude(height=width, convexity=100) LeverSectBot();
131 translate([0,2,0]) LeverTop();