5 nomrad = height/2 - toothheight;
12 toothgap = webthick + webgap*2;
13 basethick = toothheight;
15 module DoveClipPin(height=height) {
16 translate([0,0, height/2]) intersection(){
19 mirror([0,0,m]) translate([0,0,height/2]) rotate([90,0,0])
20 cylinder($fn=20, r1=minrad, r2=maxrad, h=pindepth);
22 translate([-webthick/2, -pindepth, -height/2-1])
23 cube([webthick, pindepth, height+2]);
25 translate([-maxrad-1, -pindepth-1, -height/2])
26 cube([maxrad*2+2, pindepth+2, height]);
30 module DoveClipEnd(baseextend=1, h=7) {
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, h]);
37 translate([0, centrey, -1])
38 cylinder($fn=20, r=nomrad, h=h+2);
39 translate([-toothgap/2, cube0y-1, -1])
40 cube([toothgap, toothheight+nomrad+1, h+2]);
44 module DoveClipPair(baseextend=1, h=7) {
45 delta = nomrad*2 + jawthick*2 + toothgap;
46 for (x=[-delta/2,delta/2])
48 DoveClipEnd(baseextend=baseextend, h=h);