function DoveClip_depth() =
basethick + nomrad*2 + toothheight;
-function DoveClip_width() =
- nomrad*2 + jawthick*2 + toothgap;
module DoveClipEnd(baseextend=1, h=7) {
cubex = nomrad*2 + jawthick*2;
}
module DoveClipPair(baseextend=1, h=7) {
- delta = DoveClip_width();
+ delta = nomrad*2 + jawthick*2 + toothgap;
for (x=[-delta/2,delta/2])
translate([x,0,0])
DoveClipEnd(baseextend=baseextend, h=h);
translate([0, DoveClip_depth(), 0])
DoveClipPairBase(baseextend=baseextend, h=h, count=count);
}
+
+function DoveClipPairSane_width(count=2) =
+ 2 * (nomrad + jawthick + ((nomrad*2 + jawthick) * (count-1)/2));
translate([0,0,-1]) cylinder($fn=60, h=hubaxlelen+2, r=axlerad);
}
hole = hubeffrad - hubbigrad - DoveClip_depth() - hublwidth*2;
- holewidth = DoveClip_width() - hubstemwidth*2;
+ holewidth = DoveClipPairSane_width() - hubstemwidth*2;
for (ang=[0,120,240])
rotate([0,0,ang]) {
difference() {