5 nomrad = height/2 - toothheight;
11 toothgap = webthick + webgap*2;
13 module DoveClipPin() {
17 mirror([0,0,m]) translate([0,0,height/2]) rotate([90,0,0])
18 cylinder($fn=20, r1=minrad, r2=maxrad, h=pindepth);
20 translate([-webthick/2, -pindepth, -height/2-1])
21 cube([webthick, pindepth, height+2]);
23 translate([-maxrad-1, -pindepth-1, -height/2])
24 cube([maxrad*2+2, pindepth+2, height]);
28 module DoveClipEnd(baseextend=1, height=7) {
29 basethick = toothheight;
30 jawthick = toothheight;
31 cubex = nomrad*2 + jawthick*2;
32 cube0y = -basethick-nomrad*2-toothheight;
33 centrey = -basethick-nomrad;
35 translate([-cubex/2, cube0y, 0])
36 cube([cubex, -cube0y+baseextend, height]);
37 translate([0, centrey, -1])
38 cylinder($fn=20, r=nomrad, h=height+2);
39 translate([-toothgap/2, cube0y-1, -1])
40 cube([toothgap, toothheight+nomrad+1, height+2]);
45 translate([x,0,0]) DoveClipEnd();