|
@@ -0,0 +1,91 @@
|
|
1
|
+tube = 16.5;
|
|
2
|
+wall = 6;
|
|
3
|
+depth = 12;
|
|
4
|
+mount = 1;
|
|
5
|
+wall_off = 3;
|
|
6
|
+tab = 11;
|
|
7
|
+hole = 4.1;
|
|
8
|
+
|
|
9
|
+head_min = hole;
|
|
10
|
+head_max = 7.9;
|
|
11
|
+head_height = 2.5;
|
|
12
|
+
|
|
13
|
+fix_height = 9;
|
|
14
|
+fix_wall = 4;
|
|
15
|
+fix_dia = 40;
|
|
16
|
+fix_hole = 2.8;
|
|
17
|
+
|
|
18
|
+double = true;
|
|
19
|
+
|
|
20
|
+$fn = 42;
|
|
21
|
+
|
|
22
|
+module fix() {
|
|
23
|
+ difference() {
|
|
24
|
+ cylinder(d = fix_dia, h = fix_height);
|
|
25
|
+
|
|
26
|
+ translate([0, 0, -1])
|
|
27
|
+ cylinder(d = tube, h = fix_height + 2);
|
|
28
|
+
|
|
29
|
+ translate([0, -1, fix_height / 2])
|
|
30
|
+ rotate([90, 0, 0])
|
|
31
|
+ cylinder(d = fix_hole, h = fix_dia / 2);
|
|
32
|
+
|
|
33
|
+ translate([1, 0, fix_height / 2])
|
|
34
|
+ rotate([0, 90, 0])
|
|
35
|
+ cylinder(d = fix_hole, h = fix_dia / 2);
|
|
36
|
+ }
|
|
37
|
+}
|
|
38
|
+
|
|
39
|
+module tab() {
|
|
40
|
+ difference() {
|
|
41
|
+ cube([wall + wall_off, tab, depth]);
|
|
42
|
+
|
|
43
|
+ translate([-1, tab / 2, depth / 2])
|
|
44
|
+ rotate([0, 90, 0]) {
|
|
45
|
+ cylinder(d = hole, h = wall + wall_off + 2);
|
|
46
|
+
|
|
47
|
+ translate([0, 0, wall + wall_off + 1 - head_height])
|
|
48
|
+ cylinder(d1 = head_min, d2 = head_max, h = head_height + 0.01);
|
|
49
|
+ }
|
|
50
|
+ }
|
|
51
|
+}
|
|
52
|
+
|
|
53
|
+module main_part() {
|
|
54
|
+ hull() {
|
|
55
|
+ cylinder(d = tube + (2 * wall), h = depth);
|
|
56
|
+
|
|
57
|
+ translate([-tube / 2 - wall_off, tube / 2 + wall, 0])
|
|
58
|
+ cube([wall + wall_off, mount, depth]);
|
|
59
|
+
|
|
60
|
+ translate([-tube / 2 - wall_off, -tube / 2 - wall - mount, 0])
|
|
61
|
+ cube([wall + wall_off, mount, depth]);
|
|
62
|
+ }
|
|
63
|
+
|
|
64
|
+ translate([-tube / 2 - wall_off, tube / 2 + wall + mount, 0])
|
|
65
|
+ tab();
|
|
66
|
+
|
|
67
|
+ translate([-tube / 2 - wall_off, -tube / 2 - wall - mount - tab, 0])
|
|
68
|
+ tab();
|
|
69
|
+}
|
|
70
|
+
|
|
71
|
+module whole() {
|
|
72
|
+ difference() {
|
|
73
|
+ main_part();
|
|
74
|
+
|
|
75
|
+ translate([0, 0, -1])
|
|
76
|
+ cylinder(d = tube, h = depth + 2);
|
|
77
|
+
|
|
78
|
+ translate([-100 - tube / 2 - wall_off, -50, -50])
|
|
79
|
+ cube([100, 100, 100]);
|
|
80
|
+ }
|
|
81
|
+}
|
|
82
|
+
|
|
83
|
+translate([fix_dia + 10, 0, 0])
|
|
84
|
+fix();
|
|
85
|
+
|
|
86
|
+whole();
|
|
87
|
+
|
|
88
|
+if (double) {
|
|
89
|
+ translate([0, 0, depth])
|
|
90
|
+ whole();
|
|
91
|
+}
|