add taper to engagement surfaces on cap
haldean
3 years ago
2 | 2 | module cap() { |
3 | 3 | difference() { |
4 | 4 | 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); | |
6 | 7 | cylinder(h=cap_height, r=otod / 2); |
7 | 8 | } |
8 | 9 | translate([0, 0, cap_height]) |
12 | 13 | module diag() { |
13 | 14 | d = sqrt(2 * itid * itid)/2; |
14 | 15 | 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) | |
16 | 17 | polygon([[-d, 0], [-d+wt, wt], [d-wt, wt], |
17 | 18 | [d, 0], [d-wt, -wt], [-d+wt, -wt]]); |
18 | 19 | } |