-
Notifications
You must be signed in to change notification settings - Fork 0
/
servo-bracket.scad
189 lines (189 loc) · 4.87 KB
/
servo-bracket.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
union () {
difference () {
translate ([-36.5, 5, 8.75]) {
cube ([10, 20, 1.5], center=true);
}
translate ([-30, 5, 7.75]) {
rotate (a=30.508474576271187, v=[0, 1, 0]) {
cube ([10, 25, 1.5], center=true);
}
}
rotate (a=90.0, v=[1, 0, 0]) {
translate ([-41.5, 9.9, 0]) {
cylinder ($fs=0.01, h=50, r=3, center=true);
}
}
rotate (a=0.0, v=[1, 0, 0]) {
translate ([-41, 7, 2]) {
cylinder ($fs=0.01, h=20, r=3, center=true);
}
}
}
difference () {
union () {
hull () {
rotate (a=90.0, v=[1, 0, 0]) {
translate ([6, 0, 26]) {
cylinder ($fs=0.01, h=4, r=9.25, center=true);
}
}
translate ([-28.5, -15, -1]) {
cube ([5, 4, 6], center=true);
}
}
hull () {
rotate (a=90.0, v=[1, 0, 0]) {
translate ([6, 0, -26]) {
cylinder ($fs=0.01, h=4, r=9.25, center=true);
}
}
translate ([-28.5, 15, -1]) {
cube ([5, 4, 6], center=true);
}
}
rotate (a=90.0, v=[1, 0, 0]) {
translate ([-29, -6.4, 0]) {
cylinder ($fs=0.01, h=32, r=3, center=true);
}
}
translate ([-29, 0, -4.6]) {
cube ([4, 36, 10], center=true);
}
translate ([-36, 5, 0]) {
cube ([10, 22, 19], center=true);
}
}
translate ([-35, -6, -12]) {
cube ([20, 50, 10], center=true);
}
rotate (a=-17.647058823529413, v=[0, 1, 0]) {
translate ([0, 0, 10]) {
union () {
translate ([-35, -6.2, -11]) {
cube ([20, 26, 10], center=true);
}
translate ([-35, -6, -12]) {
cube ([20, 50, 10], center=true);
}
translate ([-35, -6, -12]) {
cube ([20, 25, 10], center=true);
}
}
}
}
translate ([0, 0, -12.5]) {
cube ([50, 58, 10], center=true);
}
rotate (a=59.99999999999999, v=[0, 1, 0]) {
translate ([0, 0, -40]) {
cube ([100, 58, 10], center=true);
}
}
translate ([0, 0, 13]) {
cube ([100, 58, 10], center=true);
}
translate ([14, 0, 0]) {
cube ([30, 46, 20], center=true);
}
translate ([3, 0, 0]) {
cube ([60, 30, 10], center=true);
}
translate ([-12, 0, -14]) {
cube ([30, 46, 20], center=true);
}
translate ([-2, 0, 0]) {
cube ([30, 36, 20], center=true);
}
translate ([8, 0, 0]) {
cube ([30, 46, 20], center=true);
}
rotate (a=0.0, v=[1, 0, 0]) {
translate ([-31, -28, 0]) {
cylinder ($fs=0.01, h=20, r=1.6, center=true);
}
}
rotate (a=0.0, v=[1, 0, 0]) {
translate ([-31, -18, 0]) {
cylinder ($fs=0.01, h=20, r=2, center=true);
}
}
rotate (a=0.0, v=[1, 0, 0]) {
translate ([-31, 18, 0]) {
cylinder ($fs=0.01, h=20, r=2, center=true);
}
}
rotate (a=0.0, v=[1, 0, 0]) {
translate ([-13, -16, 0]) {
cylinder ($fs=0.01, h=20, r=5, center=true);
}
}
rotate (a=0.0, v=[1, 0, 0]) {
translate ([-13, 16, 0]) {
cylinder ($fs=0.01, h=20, r=5, center=true);
}
}
rotate (a=0.0, v=[1, 0, 0]) {
translate ([-7, -18, 0]) {
cylinder ($fs=0.01, h=20, r=5, center=true);
}
}
rotate (a=0.0, v=[1, 0, 0]) {
translate ([-7, 18, 0]) {
cylinder ($fs=0.01, h=20, r=5, center=true);
}
}
rotate (a=0.0, v=[1, 0, 0]) {
translate ([-41, 7, 2]) {
cylinder ($fs=0.01, h=20, r=3, center=true);
}
}
rotate (a=90.0, v=[1, 0, 0]) {
translate ([-41.5, 9.9, 0]) {
cylinder ($fs=0.01, h=50, r=3, center=true);
}
}
rotate (a=0.0, v=[1, 0, 0]) {
translate ([-41, 16, 2]) {
cylinder ($fs=0.01, h=20, r=1.6, center=true);
}
}
rotate (a=0.0, v=[1, 0, 0]) {
translate ([-41, -6, 0]) {
cylinder ($fs=0.01, h=20, r=1.6, center=true);
}
}
rotate (a=0.0, v=[1, 0, 0]) {
translate ([-38, 7, 0]) {
cylinder ($fs=0.01, h=20, r=1.5, center=true);
}
}
rotate (a=0.0, v=[1, 0, 0]) {
translate ([-30.7, 7, 5.5]) {
cylinder ($fs=0.01, h=20, r=1.5, center=true);
}
}
translate ([-30, 5, 7.75]) {
rotate (a=30.508474576271187, v=[0, 1, 0]) {
cube ([10, 25, 1.5], center=true);
}
}
rotate (a=90.0, v=[0, 1, 0]) {
translate ([-4, 0, 0]) {
cylinder ($fs=0.01, h=100, r=2.2, center=true);
}
}
translate ([-36, 7, 6]) {
cube ([11, 3, 20], center=true);
}
rotate (a=1890.7607239317167, v=[1, 0, 0]) {
translate ([-35.6, 4, 0]) {
cylinder ($fs=0.01, h=100, r=2.2, center=true);
}
}
rotate (a=90.0, v=[1, 0, 0]) {
translate ([8, 2.54, 0]) {
cylinder ($fs=0.01, h=100, r=1.5, center=true);
}
}
}
}