|
@@ -0,0 +1,41 @@
|
|
1
|
+/*
|
|
2
|
+ * Created by:
|
|
3
|
+ * Thomas Buck <xythobuz@xythobuz.de> in April 2016
|
|
4
|
+ *
|
|
5
|
+ * Licensed under the Creative Commons - Attribution license.
|
|
6
|
+ */
|
|
7
|
+
|
|
8
|
+diameter = 10;
|
|
9
|
+slit = 1.1;
|
|
10
|
+slit_height = 2.1;
|
|
11
|
+height = 4.5;
|
|
12
|
+wall = 1.5;
|
|
13
|
+base_size = 20;
|
|
14
|
+base_height = 3;
|
|
15
|
+cut_out_count = 5;
|
|
16
|
+cut_out_factor = 0.35;
|
|
17
|
+$fn = 30;
|
|
18
|
+
|
|
19
|
+// -----------------------------------------------------------
|
|
20
|
+
|
|
21
|
+translate([0, 0, base_height])
|
|
22
|
+union() {
|
|
23
|
+ difference() {
|
|
24
|
+ cylinder(d = diameter + (2 * wall), h = height);
|
|
25
|
+ cylinder(d = diameter, h = height);
|
|
26
|
+ }
|
|
27
|
+
|
|
28
|
+ translate([-(slit / 2), -(diameter / 2), 0])
|
|
29
|
+ cube([slit, diameter, slit_height]);
|
|
30
|
+}
|
|
31
|
+
|
|
32
|
+difference() {
|
|
33
|
+ cylinder(d = base_size, h = base_height);
|
|
34
|
+
|
|
35
|
+ // cut outs for fingers
|
|
36
|
+ for (i = [0 : cut_out_count]) {
|
|
37
|
+ rotate([0, 0, (360 / cut_out_count) * i])
|
|
38
|
+ translate([(base_size / 2), 0, 0])
|
|
39
|
+ cylinder(d = base_size * cut_out_factor, h = base_height);
|
|
40
|
+ }
|
|
41
|
+}
|