20 teeth_x_mid = lever_len/2 - hole_dia/2 - teeth_bite - teeth_gap*1.5;
21 teeth_height_total = teeth_height + teeth_chamfer;
24 for (x = [-1,+1] * 0.5 * lever_len) {
33 Circles(hole_dia/2 + around_hole);
36 translate([ teeth_x_mid - teeth_bite - teeth_back - teeth_gap - hole_dia/2,
45 -0.5 * teeth_n * teeth_pitch,
49 translate([ teeth_bite + teeth_gap/2, 0 ])
50 rectfromto([ -0.1, 0 ],
51 [ teeth_back, teeth_n * teeth_pitch ]);
52 for (i= [ 0: teeth_n-1 ]) {
53 translate([teeth_gap/2, teeth_pitch*i])
56 [ teeth_bite, teeth_pitch ]]);
67 linextr(thick - 0.1, thick + teeth_height_total)
69 translate([ teeth_x_mid, 0, thick + teeth_height_total + 1])
70 linextr_y_xz(-teeth_pitch * teeth_n,
71 +teeth_pitch * teeth_n)
73 square(sqrt(2) * (teeth_gap/2 + teeth_chamfer + 1), center=true);