5 openingedge_dia = 1.34;
18 outside_pushslope = 1.4;
19 outside_push_inadj = 0.82;
25 opening_protr_slop = 0.1;
27 intooth_top_slop = 0.1;
41 inside_h = opening_height/2 - opening_protrh - inside_h_xgap/2;
43 edge_or = openingedge_dia/2 + opening_protr_slop;
45 Q0 = [ openingedge_dia/2,
46 openingedge_dia/2 + opening_height/2 ];
48 p4p5d = [edge_or + ourcirc_r, 0];
50 P0 = [ pivot_x, pivoting_gap ];
52 P3t = [ P4[0], Q0[1] - openingedge_dia/2 + opening_protrh
53 - intooth_top_slop - ourcirc_r ];
54 P2 = P4 + [ -(inside_len - ourcirc_r*2), 0 ];
55 P1 = [ P2[0], P3t[1] - (inside_h + ourcirc_r*2) ];
59 P8t = [ outside_len - ourcirc_r, P5[1] ];
60 P9t = P8t + [ 0, -(strap_above + strap_th + strap_below - ourcirc_r*2) ];
62 P9b = [ P9t[0], -P9t[1] + outside_gap ];
63 P8b = P9b + [ 0, outend_height ];
65 P6t = P5 + [ 0, outside_pushh - ourcirc_r*2 ];
66 P7 = [ P6t[0] + (P6t[1] - P1[1]) / outside_pushslope,
69 P3a = P3t + [ -outside_push_inadj, 0 ];
70 P6a = P6t + [ -outside_push_inadj, 0 ];
72 outside_push_inadj_slope = (P3t[1]-P4[1]) / (P6a[1]-P5[1]);
74 ribble_rad = ribble_dia/2;
76 module ExtrusionSect(){
77 cr = openingedge_dia/2;
78 toph = opening_height/2 + opening_protrh;
85 translate([-cr,10]) square([cr*2, 1]);
90 translate([-opening_depth, -toph]) {
93 square([opening_depth+6, toph*2+10]);
94 square([opening_depth+2, toph*2]);
103 circle(r = ourcirc_r, $fn=10);
108 module LeverSect(top, inadj=false){
109 P3 = inadj ? P3a : P3t;
110 P6 = inadj ? P6a : P6t;
111 P8 = top ? P8t : P8b;
112 P9 = top ? P9t : P9b;
115 PsHull([P0,P1,P2,P5,P8,P9]);
121 translate(p) circle(r=edge_or, $fn=20);
130 circle(r = strap_below + strap_th, $fn=40);
131 circle(r = strap_below, $fn=40);
136 module LeverSectTop(){
139 LeverSect(true, false);
140 for (x = [ P8t[0] + ourcirc_r - ribble_rad :
142 Q0[0] + edge_or + ribble_rad*2 ]) {
143 translate([x, P5[1] + ourcirc_r])
144 circle(r = ribble_rad, $fn=20);
147 translate([pivot_x,0]) circle(r= pivot_r + pivot_slop, $fn=20);
151 module LeverSectBot(inadj=false){
152 P6 = inadj ? P6a : P6t;
154 LeverSect(false, inadj);
156 translate([pivot_x,0]) circle(r=pivot_r, $fn=20);
161 translate([0,0,-5]) color("white") ExtrusionSect();
163 translate([0,0,5]) LeverSectBot();
164 color("black") LeverSectBot(true);
165 color("blue") translate([0,0,10]) StrapSect();
169 linear_extrude(height=width, convexity=100) LeverSectTop();
172 module LeverBot(inadj=false){
173 linear_extrude(height=width, convexity=100) LeverSectBot(inadj);
177 translate([0,2,0]) LeverTop();
179 translate([0,-opening_height - 2,0]) LeverBot(true);