|
@@ -0,0 +1,70 @@
|
|
1
|
+/*
|
|
2
|
+ * Created by:
|
|
3
|
+ * Thomas Buck <xythobuz@xythobuz.de> in May 2016
|
|
4
|
+ *
|
|
5
|
+ * Licensed under the Creative Commons - Attribution license.
|
|
6
|
+ */
|
|
7
|
+
|
|
8
|
+// -----------------------------------------------------------
|
|
9
|
+
|
|
10
|
+hole_distance = 70;
|
|
11
|
+hole_size = 5;
|
|
12
|
+
|
|
13
|
+hook_width = 5;
|
|
14
|
+hook_length = 5;
|
|
15
|
+hook_height = 6.5;
|
|
16
|
+hook_strength = 2;
|
|
17
|
+hook_outer_distance = 71;
|
|
18
|
+hook_angle = 18;
|
|
19
|
+
|
|
20
|
+base_width = 78;
|
|
21
|
+base_depth = 10;
|
|
22
|
+base_height = 1;
|
|
23
|
+
|
|
24
|
+$fn = 15;
|
|
25
|
+
|
|
26
|
+// -----------------------------------------------------------
|
|
27
|
+
|
|
28
|
+module hook() {
|
|
29
|
+ cube([hook_width, hook_strength, hook_height]);
|
|
30
|
+ translate([0, 0, hook_height])
|
|
31
|
+ cube([hook_width, hook_length, hook_strength]);
|
|
32
|
+}
|
|
33
|
+
|
|
34
|
+module hooks() {
|
|
35
|
+ translate([(hook_outer_distance / 2) - hook_width, 0, 0])
|
|
36
|
+ hook();
|
|
37
|
+
|
|
38
|
+ translate([-(hook_outer_distance / 2) + hook_width, 0, 0])
|
|
39
|
+ rotate([0, 0, 180])
|
|
40
|
+ hook();
|
|
41
|
+}
|
|
42
|
+
|
|
43
|
+module base() {
|
|
44
|
+ difference() {
|
|
45
|
+ union() {
|
|
46
|
+ cube([base_width, base_depth, base_height]);
|
|
47
|
+
|
|
48
|
+ translate([0, base_depth, 0])
|
|
49
|
+ cube([13, 8, base_height]);
|
|
50
|
+
|
|
51
|
+ translate([base_width - 13, -base_depth + 2, 0])
|
|
52
|
+ cube([13, 8, base_height]);
|
|
53
|
+ }
|
|
54
|
+
|
|
55
|
+ translate([(base_width - hole_distance) / 2, base_depth / 2, -1])
|
|
56
|
+ cylinder(d = hole_size, h = base_height + 2);
|
|
57
|
+
|
|
58
|
+ translate([(base_width + hole_distance) / 2, base_depth / 2, -1])
|
|
59
|
+ cylinder(d = hole_size, h = base_height + 2);
|
|
60
|
+ }
|
|
61
|
+}
|
|
62
|
+
|
|
63
|
+// -----------------------------------------------------------
|
|
64
|
+
|
|
65
|
+translate([-base_width / 2, -base_depth / 2, 0])
|
|
66
|
+ base();
|
|
67
|
+
|
|
68
|
+translate([0, 0, base_height])
|
|
69
|
+ rotate([0, 0, -hook_angle])
|
|
70
|
+ hooks();
|