git.haldean.org h1a / a166775
add taper to engagement surfaces on cap haldean 2 years ago
1 changed file(s) with 3 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
22 module cap() {
33 difference() {
44 union() {
5 cylinder(h=cap_depth + cap_height, r=otid / 2);
5 translate([0, 0, cap_height-eps])
6 cylinder(h=cap_depth + eps, r1=otid / 2, r2=(otid - 2) / 2);
67 cylinder(h=cap_height, r=otod / 2);
78 }
89 translate([0, 0, cap_height])
1213 module diag() {
1314 d = sqrt(2 * itid * itid)/2;
1415 wt = 1.5;
15 linear_extrude(height=cap_height+cross_depth, center=false)
16 linear_extrude(height=cap_height+cross_depth, center=false, scale=(itid-1)/itid)
1617 polygon([[-d, 0], [-d+wt, wt], [d-wt, wt],
1718 [d, 0], [d-wt, -wt], [-d+wt, -wt]]);
1819 }