@@ -79,7 +79,6 @@ const brace = () =>
79
79
} ) ,
80
80
) ,
81
81
) ,
82
-
83
82
translate (
84
83
[ - 54 / 2 , - 54 / 2 , radius ] ,
85
84
sphere ( {
@@ -97,13 +96,6 @@ const brace = () =>
97
96
} ) ,
98
97
) ,
99
98
) ,
100
- translate (
101
- [ - 54 / 2 , 0 , radius ] ,
102
- sphere ( {
103
- radius : 3 * 2 ,
104
- segments : 12 ,
105
- } ) ,
106
- ) ,
107
99
rotateZ (
108
100
degToRad ( - segmentAngle * 3 ) ,
109
101
translate (
@@ -131,13 +123,6 @@ const brace = () =>
131
123
} ) ,
132
124
) ,
133
125
) ,
134
- translate (
135
- [ 54 / 2 , 54 / 2 , radius ] ,
136
- sphere ( {
137
- radius : 3 * 2 ,
138
- segments : 12 ,
139
- } ) ,
140
- ) ,
141
126
// Beams
142
127
rotateX (
143
128
degToRad ( 45 ) ,
@@ -165,18 +150,6 @@ const brace = () =>
165
150
) ,
166
151
) ,
167
152
) ,
168
- translate (
169
- [ - innerRadius + 2 , - 7 , radius / 2 + 4 ] ,
170
- rotateZ (
171
- degToRad ( 25 ) ,
172
- rotateX (
173
- degToRad ( - 30 ) ,
174
- cuboid ( {
175
- size : [ 5 , 5 , radius ] ,
176
- } ) ,
177
- ) ,
178
- ) ,
179
- ) ,
180
153
translate (
181
154
[ - innerRadius + 2 , innerRadius / 2 + 8 , radius / 2 + 4 ] ,
182
155
rotateZ (
@@ -189,18 +162,6 @@ const brace = () =>
189
162
) ,
190
163
) ,
191
164
) ,
192
- translate (
193
- [ - innerRadius + 2 , 7 , radius / 2 + 4 ] ,
194
- rotateZ (
195
- degToRad ( - 25 ) ,
196
- rotateX (
197
- degToRad ( 30 ) ,
198
- cuboid ( {
199
- size : [ 5 , 5 , radius ] ,
200
- } ) ,
201
- ) ,
202
- ) ,
203
- ) ,
204
165
translate (
205
166
[ radius / 2 , radius - 6 , radius / 2 + 4 ] ,
206
167
rotateZ (
@@ -249,6 +210,11 @@ const brace = () =>
249
210
) ,
250
211
) ,
251
212
) ,
213
+ // Horizontal
214
+ cuboid ( {
215
+ size : [ 5 , radius * 1.2 , 5 ] ,
216
+ center : [ - radius * 0.65 , 0 , 5 ] ,
217
+ } ) ,
252
218
)
253
219
254
220
const hexagon = ( ) =>
@@ -338,7 +304,7 @@ const cube = () => [
338
304
]
339
305
340
306
export const thingyDodecahedron = ( ) => [
341
- colorize ( hexToRgb ( '#e76f51' ) , cube ( ) ) ,
307
+ // colorize(hexToRgb('#e76f51'), cube()),
342
308
rotateZ (
343
309
degToRad ( segmentAngle * 2.5 ) ,
344
310
translateZ ( radius , colorize ( hexToRgb ( '#ff6600' ) , thingy ( ) ) ) ,
0 commit comments