-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcaps.scad
35 lines (28 loc) · 880 Bytes
/
caps.scad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
include <constants.scad>;
$fn = 90;
module cap(height) {
difference() {
union() {
cylinder(d = support_cap_outer_dia,
h = height);
translate([0, 0, height])
cylinder(d = insert_diameter,
h = insert_length);
}
union() {
cylinder(d = support_cap_inner_dia,
h = height * 0.75);
cylinder(d = insert_hole_dia,
h = height + insert_length);
translate([0, 0, support_cap_hole_height])
rotate([0, 90, 0])
cylinder(d = support_cap_hole_dia,
h = support_cap_outer_dia,
center = true);
}
}
}
translate([20, 0, 0])
cap(short_support_cap_height);
translate([-20, 0, 0])
cap(long_support_cap_height);