File: functions-expected.csg

package info (click to toggle)
openscad 2015.03-2%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 30,804 kB
  • ctags: 5,692
  • sloc: cpp: 39,386; sh: 3,856; ansic: 3,674; python: 1,393; yacc: 496; lex: 272; lisp: 159; makefile: 67; xml: 60
file content (257 lines) | stat: -rw-r--r-- 10,848 bytes parent folder | download
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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
group() {
	group();
	color([1, 0, 0, 1]) {
		group() {
			multmatrix([[1, 0, 0, -100], [0, 1, 0, -49], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, -95], [0, 1, 0, -46.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, -90], [0, 1, 0, -44], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, -85], [0, 1, 0, -41.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, -80], [0, 1, 0, -39], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, -75], [0, 1, 0, -36.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, -70], [0, 1, 0, -34], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, -65], [0, 1, 0, -31.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, -60], [0, 1, 0, -29], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, -55], [0, 1, 0, -26.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, -50], [0, 1, 0, -24], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, -45], [0, 1, 0, -21.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, -40], [0, 1, 0, -19], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, -35], [0, 1, 0, -16.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, -30], [0, 1, 0, -14], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, -25], [0, 1, 0, -11.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, -20], [0, 1, 0, -9], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, -15], [0, 1, 0, -6.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, -10], [0, 1, 0, -4], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, -5], [0, 1, 0, -1.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, 0], [0, 1, 0, 1], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, 5], [0, 1, 0, 3.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, 10], [0, 1, 0, 6], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, 15], [0, 1, 0, 8.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, 20], [0, 1, 0, 11], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, 25], [0, 1, 0, 13.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, 30], [0, 1, 0, 16], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, 35], [0, 1, 0, 18.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, 40], [0, 1, 0, 21], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, 45], [0, 1, 0, 23.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, 50], [0, 1, 0, 26], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, 55], [0, 1, 0, 28.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, 60], [0, 1, 0, 31], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, 65], [0, 1, 0, 33.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, 70], [0, 1, 0, 36], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, 75], [0, 1, 0, 38.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, 80], [0, 1, 0, 41], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, 85], [0, 1, 0, 43.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, 90], [0, 1, 0, 46], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, 95], [0, 1, 0, 48.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
			multmatrix([[1, 0, 0, 100], [0, 1, 0, 51], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				cube(size = [2, 2, 2], center = true);
			}
		}
	}
	color([0, 0.501961, 0, 1]) {
		group() {
			multmatrix([[1, 0, 0, -105], [0, 1, 0, 82.25], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, -98.75], [0, 1, 0, 68.265625], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, -92.5], [0, 1, 0, 55.0625], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, -86.25], [0, 1, 0, 42.640625], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, -80], [0, 1, 0, 31], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, -73.75], [0, 1, 0, 20.140625], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, -67.5], [0, 1, 0, 10.0625], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, -61.25], [0, 1, 0, 0.765625], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, -55], [0, 1, 0, -7.75], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, -48.75], [0, 1, 0, -15.484375], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, -42.5], [0, 1, 0, -22.4375], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, -36.25], [0, 1, 0, -28.609375], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, -30], [0, 1, 0, -34], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, -23.75], [0, 1, 0, -38.609375], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, -17.5], [0, 1, 0, -42.4375], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, -11.25], [0, 1, 0, -45.484375], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, -5], [0, 1, 0, -47.75], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, 1.25], [0, 1, 0, -49.234375], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, 7.5], [0, 1, 0, -49.9375], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, 13.75], [0, 1, 0, -49.859375], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, 20], [0, 1, 0, -49], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, 26.25], [0, 1, 0, -47.359375], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, 32.5], [0, 1, 0, -44.9375], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, 38.75], [0, 1, 0, -41.734375], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, 45], [0, 1, 0, -37.75], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, 51.25], [0, 1, 0, -32.984375], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, 57.5], [0, 1, 0, -27.4375], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, 63.75], [0, 1, 0, -21.109375], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, 70], [0, 1, 0, -14], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, 76.25], [0, 1, 0, -6.109375], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, 82.5], [0, 1, 0, 2.5625], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, 88.75], [0, 1, 0, 12.015625], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, 95], [0, 1, 0, 22.25], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, 101.25], [0, 1, 0, 33.265625], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, 107.5], [0, 1, 0, 45.0625], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, 113.75], [0, 1, 0, 57.640625], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, 120], [0, 1, 0, 71], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, 126.25], [0, 1, 0, 85.140625], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, 132.5], [0, 1, 0, 100.0625], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, 138.75], [0, 1, 0, 115.765625], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
			multmatrix([[1, 0, 0, 145], [0, 1, 0, 132.25], [0, 0, 1, 0], [0, 0, 0, 1]]) {
				sphere($fn = 0, $fa = 12, $fs = 2, r = 1);
			}
		}
	}
}