-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpbContracts.proto
390 lines (340 loc) · 8.76 KB
/
pbContracts.proto
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
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
message namestrc {
required string name = 1;
}
message boxstrc {
required double p0coordx = 1;
required double p0coordy = 2;
required double p0coordz = 3;
required double p1coordx = 4;
required double p1coordy = 5;
required double p1coordz = 6;
required double p2coordx = 7;
required double p2coordy = 8;
required double p2coordz = 9;
required double p3coordx = 10;
required double p3coordy = 11;
required double p3coordz = 12;
required double height = 13;
}
message cylinderstrc {
required double p0coordx = 1;
required double p0coordy = 2;
required double p0coordz = 3;
required double radius = 4;
required double height = 5;
}
message cylinderbstrc {
required double p0coordx = 1;
required double p0coordy = 2;
required double p0coordz = 3;
required double radius = 4;
required double p1coordx = 5;
required double p1coordy = 6;
required double p1coordz = 7;
}
message spherestrc {
required double p0coordx = 1;
required double p0coordy = 2;
required double p0coordz = 3;
required double p1coordx = 4;
required double p1coordy = 5;
required double p1coordz = 6;
required double p2coordx = 7;
required double p2coordy = 8;
required double p2coordz = 9;
}
message familyelementstrc {
required idstrc familyid = 1;
required bool flag = 2;
repeated string names = 3;
repeated double values = 4;
}
message wallstrc {
required double p0coordx = 1;
required double p0coordy = 2;
required double p0coordz = 3;
required double p1coordx = 4;
required double p1coordy = 5;
required double p1coordz = 6;
required idstrc level = 7;
}
message wallheightstrc {
required double p0coordx = 1;
required double p0coordy = 2;
required double p0coordz = 3;
required double p1coordx = 4;
required double p1coordy = 5;
required double p1coordz = 6;
required double height = 7;
required idstrc level = 8;
}
message walllevelstrc{
required double p0coordx = 1;
required double p0coordy = 2;
required double p0coordz = 3;
required double p1coordx = 4;
required double p1coordy = 5;
required double p1coordz = 6;
required idstrc levelb = 7;
required idstrc levelt = 8;
}
message polywallstrc{
repeated double pts = 1;
required idstrc levelb = 2;
required idstrc levelt = 3;
required idstrc familyid = 4;
}
message curtainwallstrc {
required double p0coordx = 1;
required double p0coordy = 2;
required double p0coordz = 3;
required double p1coordx = 4;
required double p1coordy = 5;
required double p1coordz = 6;
repeated double ulinecoord = 7;
repeated double vlinecoord = 8;
required idstrc baselevel = 9;
required idstrc toplevel = 10;
}
message wallinfostrc {
required double p0coordx = 1;
required double p0coordy = 2;
required double p0coordz = 3;
required double p1coordx = 4;
required double p1coordy = 5;
required double p1coordz = 6;
required double baseelevation = 7;
required string baselevelname = 8;
required double topelevation = 9;
required string toplevelname = 10;
required string walltype = 11;
}
message beaminfostrc {
required double p0coordx = 1;
required double p0coordy = 2;
required double p0coordz = 3;
required double p1coordx = 4;
required double p1coordy = 5;
required double p1coordz = 6;
required idstrc family = 7;
}
message polywallinfostrc{
repeated wallinfostrc walls = 1;
}
message idstrc{
required int32 id = 1;
}
message doublestrc{
required double height = 1;
}
message boolstrc{
required bool answer = 1;
}
message doublevolumestrc{
required double volume = 1;
}
message polyidstrc{
repeated idstrc ids = 1;
}
message polylevelstrc{
repeated levelstrc levels = 1;
}
message levelstrc{
required double h = 1;
required string name = 2;
}
message upperlevelstrc{
required idstrc current = 1;
required double elevation = 2;
}
message insertdoorstrc {
required int32 hostid = 1;
required double p0coordx = 2;
required double p0coordy = 3;
required double p0coordz = 4;
required idstrc family = 5;
}
message insertdoorbstrc {
required int32 hostid = 1;
required double deltax = 2;
required double deltay = 3;
required idstrc family = 4;
}
message insertwindowstrc {
required int32 hostid = 1;
required double deltax = 2;
required double deltay = 3;
}
message roundfloorstrc {
required double radius = 1;
required double centerX = 2;
required double centerY = 3;
required double centerZ = 4;
required idstrc level = 5;
}
message floorstrc {
required double p0coordx = 1;
required double p0coordy = 2;
required double p0coordz = 3;
required double p1coordx = 4;
required double p1coordy = 5;
required double p1coordz = 6;
required idstrc level = 7;
}
message columnstrc {
required double p0coordx = 1;
required double p0coordy = 2;
required double p0coordz = 3;
required idstrc baselevel = 4;
required idstrc toplevel = 5;
required double width = 6;
required idstrc familyid = 7;
}
message columnpointsstrc {
required double p0coordx = 1;
required double p0coordy = 2;
required double p0coordz = 3;
required double p1coordx = 4;
required double p1coordy = 5;
required double p1coordz = 6;
required idstrc baselevel = 7;
required idstrc toplevel = 8;
required double width = 9;
required idstrc familyid = 10;
}
message flooropeningstrc {
required double p0coordx = 1;
required double p0coordy = 2;
required double p0coordz = 3;
required double p1coordx = 4;
required double p1coordy = 5;
required double p1coordz = 6;
required int32 floorid = 7;
}
message polylinefloorstrc{
required idstrc floor = 1;
repeated double points = 2;
required idstrc familyid = 3;
}
message linestrc{
repeated double points = 1;
}
message matrixstrc{
repeated linestrc lines = 1;
}
message intersectstrc{
required idstrc wallId = 1;
required idstrc floorId = 2;
}
message stairrunstrc{
required idstrc bottomLevel = 1;
required idstrc topLevel = 2;
required double p0coordx = 3;
required double p0coordy = 4;
required double p0coordz = 5;
required double p1coordx = 6;
required double p1coordy = 7;
required double p1coordz = 8;
required double width = 9;
required idstrc family = 10;
}
message stairstrc{
required idstrc bottomLevel = 1;
required idstrc topLevel = 2;
required double bottomp0coordx = 3;
required double bottomp0coordy = 4;
required double bottomp0coordz = 5;
required double topp0coordx = 6;
required double topp0coordy = 7;
required double topp0coordz = 8;
}
message landingstrc{
required double bottomleftcornerx = 1;
required double bottomleftcornery = 2;
required double bottomleftcornerz = 3;
required double topleftcornerx = 4;
required double topleftcornery = 5;
required double topleftcornerz = 6;
required double bottomrightcornerx = 7;
required double bottomrightcornery = 8;
required double bottomrightcornerz = 9;
required double toprightcornerx = 10;
required double toprightcornery = 11;
required double toprightcornerz = 12;
required idstrc stairsrunid = 13;
}
message slabwallstrc {
required double bottomleftcornerx = 1;
required double bottomleftcornery = 2;
required double bottomleftcornerz = 3;
required double topleftcornerx = 4;
required double topleftcornery = 5;
required double topleftcornerz = 6;
required double bottomrightcornerx = 7;
required double bottomrightcornery = 8;
required double bottomrightcornerz = 9;
required double toprightcornerx = 10;
required double toprightcornery = 11;
required double toprightcornerz = 12;
required idstrc levelId = 13;
}
message masswallstrc {
required double bottomleftcornerx = 1;
required double bottomleftcornery = 2;
required double bottomleftcornerz = 3;
required double topleftcornerx = 4;
required double topleftcornery = 5;
required double topleftcornerz = 6;
required double bottomrightcornerx = 7;
required double bottomrightcornery = 8;
required double bottomrightcornerz = 9;
required double toprightcornerx = 10;
required double toprightcornery = 11;
required double toprightcornerz = 12;
required double height = 13;
required idstrc levelId = 14;
}
message masssweepstrc {
repeated double profile1 = 1;
repeated double path = 2;
repeated double profile2 = 3;
}
message wallsfromslabsstrc{
required idstrc slabid = 1;
required idstrc blevel = 2;
required double height = 3;
}
message holeslabstrc{
required idstrc slabid = 1;
repeated double pts = 2;
}
message railingsstrc{
required idstrc slabid = 1;
}
message toposurfacestrc {
repeated double pts = 1;
}
message buildingpadstrc{
repeated double pts = 1;
required idstrc levelID = 2;
}
message extrusionstrc{
repeated double pts = 1;
required double elevation = 2;
}
message movestrc{
required idstrc element = 1;
required double vectorx = 2;
required double vectory = 3;
required double vectorz = 4;
}
message rotatestrc{
required idstrc element = 1;
required double angle = 2;
required double p0x = 3;
required double p0y = 4;
required double p0z = 5;
required double p1x = 6;
required double p1y = 7;
required double p1z = 8;
}