5 openingedge_dia = 1.34;
18 outside_pushslope = 1.4;
19 outside_push_inadj = 0.82;
23 opening_protr_slop = 0.1;
25 intooth_top_slop = 0.1;
35 inside_h = opening_height/2 - opening_protrh - inside_h_xgap/2;
37 edge_or = openingedge_dia/2 + opening_protr_slop;
39 Q0 = [ openingedge_dia/2,
40 openingedge_dia/2 + opening_height/2 ];
42 p4p5d = [edge_or + ourcirc_r, 0];
44 P0 = [ pivot_x, pivoting_gap ];
46 P3t = [ P4[0], Q0[1] - openingedge_dia/2 + opening_protrh
47 - intooth_top_slop - ourcirc_r ];
48 P2 = P4 + [ -(inside_len - ourcirc_r*2), 0 ];
49 P1 = [ P2[0], P3t[1] - (inside_h + ourcirc_r*2) ];
50 P9 = [ outside_len - ourcirc_r, outside_gap/2 + ourcirc_r ];
51 P8 = P9 + [ 0, outend_height - ourcirc_r*2 ];
53 P6b = P5 + [ -outside_push_inadj, outside_pushh - ourcirc_r*2 ];
54 P7b = [ P6b[0] + (P6b[1] - P1[1]) / outside_pushslope,
57 P3b = P3t + [ -outside_push_inadj * (P3t[1]-P4[1]) / (P6b[1]-P5[1]), 0 ];
59 module ExtrusionSect(){
60 cr = openingedge_dia/2;
61 toph = opening_height/2 + opening_protrh;
68 translate([-cr,10]) square([cr*2, 1]);
73 translate([-opening_depth, -toph]) {
76 square([opening_depth+6, toph*2+10]);
77 square([opening_depth+2, toph*2]);
86 circle(r = ourcirc_r, $fn=10);
94 PsHull([P0,P1,P2,P5,P8,P9]);
97 circle(r=edge_or, $fn=20);
98 translate([0,10]) circle(r=edge_or, $fn=20);
104 module LeverSectTop(){
107 translate([pivot_x,0]) circle(r= pivot_r + pivot_slop, $fn=20);
111 module LeverSectBot(){
114 PsHull([P5,P6b,P7b]);
115 translate([pivot_x,0]) circle(r=pivot_r, $fn=20);
120 translate([0,0,-5]) color("white") ExtrusionSect();
126 linear_extrude(height=width, convexity=100) LeverSectTop();
130 linear_extrude(height=width, convexity=100) LeverSectBot();
134 translate([0,2,0]) LeverTop();