7 nomrad = height/2 - toothheight;
14 toothgap = webthick + webgap*2;
15 basethick = toothheight;
17 module DoveClipPin(height=height) {
18 translate([0,0, height/2]) intersection(){
21 mirror([0,0,m]) translate([0,0,height/2]) rotate([90,0,0])
22 cylinder($fn=20, r1=minrad, r2=maxrad, h=pindepth);
24 translate([-webthick/2, -pindepth, -height/2-1])
25 cube([webthick, pindepth, height+2]);
27 translate([-maxrad-1, -pindepth-1, -height/2])
28 cube([maxrad*2+2, pindepth+2, height]);
32 module DoveClipEnd(baseextend=1, h=7) {
33 cubex = nomrad*2 + jawthick*2;
34 cube0y = -basethick-nomrad*2-toothheight;
35 centrey = -basethick-nomrad;
37 translate([-cubex/2, cube0y, 0])
38 cube([cubex, -cube0y+baseextend, h]);
39 translate([0, centrey, -1])
40 cylinder($fn=20, r=nomrad, h=h+2);
41 translate([-toothgap/2, cube0y-1, -1])
42 cube([toothgap, toothheight+nomrad+1, h+2]);
46 module DoveClipPair(baseextend=1, h=7) {
47 delta = nomrad*2 + jawthick*2 + toothgap;
48 for (x=[-delta/2,delta/2])
50 DoveClipEnd(baseextend=baseextend, h=h);