-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfoam_dart.scad
34 lines (29 loc) · 866 Bytes
/
foam_dart.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
outside = 12.5; //mm
inside = 5.6; //mm
length = 72; //mm
foam_thickness = 0.8;
twist = 180;
cap_height = 9; //mm
$fn=50;
translate([0,0,cap_height]) {
linear_extrude(height = length - cap_height, center = false, convexity = 0, twist = twist, slices = $fn, scale = 1.0) {
difference() {
circle(d=outside);
circle(d=outside - foam_thickness * 2);
}
difference() {
circle(d=inside + foam_thickness * 2);
circle(d=inside);
}
for (a = [0:60:360]) {
rotate(a) {
translate([inside / 2, 0, 0]) {
square([(outside - inside - foam_thickness) / 2 , foam_thickness]);
}
}
}
}
}
rotate_extrude() {
polygon([[0,0],[0,cap_height], [outside / 2, cap_height], [outside / 2.5, 0]]);
}