@cobotar/protocol 0.17.10 → 0.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/README.md +1 -1
  2. package/lib/ar/v1/action_pb.ts +4 -4
  3. package/lib/ar/v1/ar_config_pb.ts +4 -4
  4. package/lib/ar/v1/feedback_pb.ts +4 -4
  5. package/lib/ar/v1/helper_pb.ts +4 -4
  6. package/lib/capability/v1/actor_constraint_pb.ts +47 -0
  7. package/lib/capability/v1/actor_skill_pb.ts +203 -0
  8. package/lib/capability/v1/capability_profile_pb.ts +73 -0
  9. package/lib/capability/v1/skill_definition_pb.ts +202 -0
  10. package/lib/capability/v1/skill_requirement_pb.ts +45 -0
  11. package/lib/capability/v1/tool_requirement_pb.ts +96 -0
  12. package/lib/common/v1/actor_pb.ts +69 -0
  13. package/lib/common/v1/custom_properties_pb.ts +33 -0
  14. package/lib/common/v1/display_text_pb.ts +41 -0
  15. package/lib/common/v1/enums_pb.ts +121 -0
  16. package/lib/common/v1/external_references_pb.ts +42 -0
  17. package/lib/common/v1/key_value_constraint_pb.ts +102 -0
  18. package/lib/common/v1/property_pb.ts +826 -0
  19. package/lib/common/v1/ref_pb.ts +53 -0
  20. package/lib/common/v1/time_pb.ts +65 -0
  21. package/lib/geometry/v1/local_target_pb.ts +38 -0
  22. package/lib/process/v1/process_recipe_pb.ts +195 -0
  23. package/lib/{assembly → process}/v1/process_requests_pb.ts +54 -54
  24. package/lib/process/v1/sequence_definition_pb.ts +126 -0
  25. package/lib/process/v1/task_definition_pb.ts +531 -0
  26. package/lib/product/v1/assembly_node_pb.ts +229 -0
  27. package/lib/product/v1/part_definition_pb.ts +431 -0
  28. package/lib/product/v1/product_definition_pb.ts +96 -0
  29. package/lib/resources/v1/asset_definition_pb.ts +171 -0
  30. package/lib/resources/v1/asset_instance_pb.ts +96 -0
  31. package/lib/resources/v1/cell_definition_pb.ts +75 -0
  32. package/lib/resources/v1/container_definition_pb.ts +369 -0
  33. package/lib/resources/v1/container_instance_pb.ts +121 -0
  34. package/lib/{ar → resources}/v1/device_pb.ts +30 -30
  35. package/lib/resources/v1/marker_instance_pb.ts +119 -0
  36. package/lib/{assembly → resources}/v1/model_pb.ts +31 -29
  37. package/lib/resources/v1/robot_definition_pb.ts +190 -0
  38. package/lib/resources/v1/robot_instance_pb.ts +120 -0
  39. package/lib/resources/v1/station_definition_pb.ts +152 -0
  40. package/lib/resources/v1/tool_definition_pb.ts +218 -0
  41. package/lib/resources/v1/tool_instance_pb.ts +111 -0
  42. package/lib/resources/v1/worker_definition_pb.ts +135 -0
  43. package/lib/runtime/v1/actor_assignment_pb.ts +89 -0
  44. package/lib/runtime/v1/execution_evidence_pb.ts +87 -0
  45. package/lib/runtime/v1/process_run_pb.ts +183 -0
  46. package/lib/runtime/v1/sequence_run_pb.ts +114 -0
  47. package/lib/runtime/v1/task_run_pb.ts +164 -0
  48. package/lib/runtime/v1/validation_result_pb.ts +108 -0
  49. package/lib/validation/v1/predefined_string_rules_pb.ts +7 -1
  50. package/lib/variance/v1/variant_axis_pb.ts +73 -0
  51. package/lib/variance/v1/variant_configuration_pb.ts +57 -0
  52. package/lib/variance/v1/variant_rule_pb.ts +68 -0
  53. package/package.json +1 -1
  54. package/lib/ar/v1/assets_pb.ts +0 -139
  55. package/lib/ar/v1/permissions_pb.ts +0 -67
  56. package/lib/ar/v1/property_pb.ts +0 -782
  57. package/lib/ar/v1/robot_pb.ts +0 -165
  58. package/lib/ar/v1/worker_pb.ts +0 -132
  59. package/lib/assembly/v1/actor_pb.ts +0 -160
  60. package/lib/assembly/v1/common_pb.ts +0 -428
  61. package/lib/assembly/v1/execution_pb.ts +0 -488
  62. package/lib/assembly/v1/process_pb.ts +0 -796
  63. package/lib/assembly/v1/product_pb.ts +0 -710
  64. package/lib/assembly/v1/resources_pb.ts +0 -1411
  65. package/lib/assembly/v1/skill_pb.ts +0 -396
  66. package/lib/assembly/v1/station_pb.ts +0 -124
  67. package/lib/assembly/v1/validation_pb.ts +0 -108
  68. package/lib/assembly/v1/variant_pb.ts +0 -170
  69. package/lib/plm/v1/model_old_pb.ts +0 -152
  70. package/lib/plm/v1/part_pb.ts +0 -126
  71. package/lib/plm/v1/tool_pb.ts +0 -230
  72. package/lib/resources/v1/marker_pb.ts +0 -105
@@ -1,710 +0,0 @@
1
- // @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=ts"
2
- // @generated from file assembly/v1/product.proto (package assembly.v1, syntax proto3)
3
- /* eslint-disable */
4
-
5
- import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
- import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
- import type { CustomProperties, ExternalReference, KeyValueConstraint } from "./common_pb.ts";
8
- import { file_assembly_v1_common } from "./common_pb.ts";
9
- import type { VariantAxis, VariantRule } from "./variant_pb.ts";
10
- import { file_assembly_v1_variant } from "./variant_pb.ts";
11
- import type { Pose } from "../../geometry/v1/pose_pb.ts";
12
- import { file_geometry_v1_pose } from "../../geometry/v1/pose_pb.ts";
13
- import type { Vector3 } from "../../geometry/v1/vector3_pb.ts";
14
- import { file_geometry_v1_vector3 } from "../../geometry/v1/vector3_pb.ts";
15
- import type { Message } from "@bufbuild/protobuf";
16
-
17
- /**
18
- * Describes the file assembly/v1/product.proto.
19
- */
20
- export const file_assembly_v1_product: GenFile = /*@__PURE__*/
21
- fileDesc("Chlhc3NlbWJseS92MS9wcm9kdWN0LnByb3RvEgthc3NlbWJseS52MSI2CgpEaW1lbnNpb25zEgwKBHhfbW0YASABKAESDAoEeV9tbRgCIAEoARIMCgR6X21tGAMgASgBIlwKDE1hdGVyaWFsU3BlYxIvCghjYXRlZ29yeRgBIAEoDjIdLmFzc2VtYmx5LnYxLk1hdGVyaWFsQ2F0ZWdvcnkSDAoEbmFtZRgCIAEoCRINCgVncmFkZRgDIAEoCSLmAQoTUGFydEhhbmRsaW5nUHJvZmlsZRIPCg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1BPTFlNRVIQAhIfChtNQVRFUklBTF9DQVRFR09SWV9FTEFTVE9NRVIQAxIfChtNQVRFUklBTF9DQVRFR09SWV9DT01QT1NJVEUQBBIdChlNQVRFUklBTF9DQVRFR09SWV9DRVJBTUlDEAUSGwoXTUFURVJJQUxfQ0FURUdPUllfR0xBU1MQBhIaChZNQVRFUklBTF9DQVRFR09SWV9XT09EEAcSGgoWTUFURVJJQUxfQ0FURUdPUllfRk9BTRAIEisKJ01BVEVSSUFMX0NBVEVHT1JZX0VMRUNUUk9OSUNTX1NVQlNUUkFURRAJEh4KGk1BVEVSSUFMX0NBVEVHT1JZX0NIRU1JQ0FMEAoSGwoXTUFURVJJQUxfQ0FURUdPUllfT1RIRVIQY0KyAQoPY29tLmFzc2VtYmx5LnYxQgxQcm9kdWN0UHJvdG9QAVo7Z2l0aHViLmNvbS9jb2JvdGFyL3Byb3RvY29sL21lc3NhZ2VzL2Fzc2VtYmx5L3YxO2Fzc2VtYmx5djGiAgNBWFiqAhRNZXNzYWdlcy5Bc3NlbWJseS5WMcoCC0Fzc2VtYmx5XFYx4gIXQXNzZW1ibHlcVjFcR1BCTWV0YWRhdGHqAgxBc3NlbWJseTo6VjFiBnByb3RvMw", [file_assembly_v1_common, file_assembly_v1_variant, file_geometry_v1_pose, file_geometry_v1_vector3]);
22
-
23
- /**
24
- * @generated from message assembly.v1.Dimensions
25
- */
26
- export type Dimensions = Message<"assembly.v1.Dimensions"> & {
27
- /**
28
- * @generated from field: double x_mm = 1;
29
- */
30
- xMm: number;
31
-
32
- /**
33
- * @generated from field: double y_mm = 2;
34
- */
35
- yMm: number;
36
-
37
- /**
38
- * @generated from field: double z_mm = 3;
39
- */
40
- zMm: number;
41
- };
42
-
43
- /**
44
- * Describes the message assembly.v1.Dimensions.
45
- * Use `create(DimensionsSchema)` to create a new message.
46
- */
47
- export const DimensionsSchema: GenMessage<Dimensions> = /*@__PURE__*/
48
- messageDesc(file_assembly_v1_product, 0);
49
-
50
- /**
51
- * MaterialSpec is meant to capture the engineering material identity of a part.
52
- * name → the material family / type
53
- * grade → the standardized grade or specification
54
- * Examples:
55
- * name: aluminium, grade: 6061-T6
56
- * name: Steel, grade: S355JR
57
- * name: stainless steel, grade: AISI 304
58
- * name: ABS, grade: general purpose
59
- * name: Polycarbonate, grade: PC-110
60
- * name: Nylon, grade: PA6 GF15
61
- * name: TPU, grade: 70 Shore A
62
- *
63
- * @generated from message assembly.v1.MaterialSpec
64
- */
65
- export type MaterialSpec = Message<"assembly.v1.MaterialSpec"> & {
66
- /**
67
- * Broad material class, e.g. metal, polymer, elastomer
68
- *
69
- * @generated from field: assembly.v1.MaterialCategory category = 1;
70
- */
71
- category: MaterialCategory;
72
-
73
- /**
74
- * Material family, e.g. aluminium, steel, ABS, FR-4, epoxy adhesive
75
- *
76
- * @generated from field: string name = 2;
77
- */
78
- name: string;
79
-
80
- /**
81
- * Standard/specification, e.g. 6061-T6, S355JR, AISI 304
82
- *
83
- * @generated from field: string grade = 3;
84
- */
85
- grade: string;
86
- };
87
-
88
- /**
89
- * Describes the message assembly.v1.MaterialSpec.
90
- * Use `create(MaterialSpecSchema)` to create a new message.
91
- */
92
- export const MaterialSpecSchema: GenMessage<MaterialSpec> = /*@__PURE__*/
93
- messageDesc(file_assembly_v1_product, 1);
94
-
95
- /**
96
- * @generated from message assembly.v1.PartHandlingProfile
97
- */
98
- export type PartHandlingProfile = Message<"assembly.v1.PartHandlingProfile"> & {
99
- /**
100
- * @generated from field: bool fragile = 1;
101
- */
102
- fragile: boolean;
103
-
104
- /**
105
- * @generated from field: bool esd_sensitive = 2;
106
- */
107
- esdSensitive: boolean;
108
-
109
- /**
110
- * @generated from field: bool requires_two_hand_lift = 3;
111
- */
112
- requiresTwoHandLift: boolean;
113
-
114
- /**
115
- * If true, this part cannot realistically be handled/assembled without some fixture support
116
- *
117
- * @generated from field: bool requires_fixture_support = 4;
118
- */
119
- requiresFixtureSupport: boolean;
120
-
121
- /**
122
- * @generated from field: double max_grip_force_n = 5;
123
- */
124
- maxGripForceN: number;
125
-
126
- /**
127
- * @generated from field: double max_torque_nm = 6;
128
- */
129
- maxTorqueNm: number;
130
-
131
- /**
132
- * @generated from field: repeated assembly.v1.KeyValueConstraint constraints = 7;
133
- */
134
- constraints: KeyValueConstraint[];
135
- };
136
-
137
- /**
138
- * Describes the message assembly.v1.PartHandlingProfile.
139
- * Use `create(PartHandlingProfileSchema)` to create a new message.
140
- */
141
- export const PartHandlingProfileSchema: GenMessage<PartHandlingProfile> = /*@__PURE__*/
142
- messageDesc(file_assembly_v1_product, 2);
143
-
144
- /**
145
- * @generated from message assembly.v1.PartDefinition
146
- */
147
- export type PartDefinition = Message<"assembly.v1.PartDefinition"> & {
148
- /**
149
- * @generated from field: string id = 1;
150
- */
151
- id: string;
152
-
153
- /**
154
- * @generated from field: string name = 2;
155
- */
156
- name: string;
157
-
158
- /**
159
- * @generated from field: string icon = 3;
160
- */
161
- icon: string;
162
-
163
- /**
164
- * @generated from field: string description = 4;
165
- */
166
- description: string;
167
-
168
- /**
169
- * Broad functional/BOM classification of the part
170
- *
171
- * @generated from field: assembly.v1.PartType type = 5;
172
- */
173
- type: PartType;
174
-
175
- /**
176
- * Optional finer-grained classification, e.g. led, resistor, battery, circuit_breaker, wire_harness, grease
177
- *
178
- * @generated from field: string subtype = 6;
179
- */
180
- subtype: string;
181
-
182
- /**
183
- * @generated from field: int64 weight_g = 7;
184
- */
185
- weightG: bigint;
186
-
187
- /**
188
- * @generated from field: assembly.v1.Dimensions dimensions = 8;
189
- */
190
- dimensions?: Dimensions;
191
-
192
- /**
193
- * @generated from field: assembly.v1.MaterialSpec material = 9;
194
- */
195
- material?: MaterialSpec;
196
-
197
- /**
198
- * Can later be extended to: CAD model (STEP), AR model (FBX), and lightweight mesh (OBJ)
199
- *
200
- * @generated from field: string default_model_id = 10;
201
- */
202
- defaultModelId: string;
203
-
204
- /**
205
- * @generated from field: assembly.v1.PartHandlingProfile handling = 11;
206
- */
207
- handling?: PartHandlingProfile;
208
-
209
- /**
210
- * @generated from field: repeated assembly.v1.ExternalReference external_references = 12;
211
- */
212
- externalReferences: ExternalReference[];
213
-
214
- /**
215
- * @generated from field: assembly.v1.CustomProperties custom = 13;
216
- */
217
- custom?: CustomProperties;
218
- };
219
-
220
- /**
221
- * Describes the message assembly.v1.PartDefinition.
222
- * Use `create(PartDefinitionSchema)` to create a new message.
223
- */
224
- export const PartDefinitionSchema: GenMessage<PartDefinition> = /*@__PURE__*/
225
- messageDesc(file_assembly_v1_product, 3);
226
-
227
- /**
228
- * @generated from message assembly.v1.ProductDefinition
229
- */
230
- export type ProductDefinition = Message<"assembly.v1.ProductDefinition"> & {
231
- /**
232
- * @generated from field: string id = 1;
233
- */
234
- id: string;
235
-
236
- /**
237
- * @generated from field: string name = 2;
238
- */
239
- name: string;
240
-
241
- /**
242
- * @generated from field: string icon = 3;
243
- */
244
- icon: string;
245
-
246
- /**
247
- * @generated from field: string description = 4;
248
- */
249
- description: string;
250
-
251
- /**
252
- * @generated from field: repeated assembly.v1.VariantAxis variant_axes = 5;
253
- */
254
- variantAxes: VariantAxis[];
255
-
256
- /**
257
- * @generated from field: string root_node_id = 6;
258
- */
259
- rootNodeId: string;
260
-
261
- /**
262
- * @generated from field: repeated assembly.v1.AssemblyNode nodes = 7;
263
- */
264
- nodes: AssemblyNode[];
265
-
266
- /**
267
- * @generated from field: repeated assembly.v1.ExternalReference external_references = 8;
268
- */
269
- externalReferences: ExternalReference[];
270
-
271
- /**
272
- * @generated from field: assembly.v1.CustomProperties custom = 9;
273
- */
274
- custom?: CustomProperties;
275
- };
276
-
277
- /**
278
- * Describes the message assembly.v1.ProductDefinition.
279
- * Use `create(ProductDefinitionSchema)` to create a new message.
280
- */
281
- export const ProductDefinitionSchema: GenMessage<ProductDefinition> = /*@__PURE__*/
282
- messageDesc(file_assembly_v1_product, 4);
283
-
284
- /**
285
- * @generated from message assembly.v1.AssemblyNode
286
- */
287
- export type AssemblyNode = Message<"assembly.v1.AssemblyNode"> & {
288
- /**
289
- * @generated from field: string id = 1;
290
- */
291
- id: string;
292
-
293
- /**
294
- * Name of this assembly node
295
- *
296
- * @generated from field: string name = 2;
297
- */
298
- name: string;
299
-
300
- /**
301
- * Empty if root, otherwise set to parent AssemblyNode id.
302
- *
303
- * @generated from field: string parent_node_id = 3;
304
- */
305
- parentNodeId: string;
306
-
307
- /**
308
- * @generated from field: assembly.v1.NodeKind kind = 4;
309
- */
310
- kind: NodeKind;
311
-
312
- /**
313
- * @generated from field: string part_definition_id = 5;
314
- */
315
- partDefinitionId: string;
316
-
317
- /**
318
- * @generated from field: string override_model_id = 6;
319
- */
320
- overrideModelId: string;
321
-
322
- /**
323
- * final pose, in mm
324
- *
325
- * @generated from field: geometry.v1.Pose local_pose = 7;
326
- */
327
- localPose?: Pose;
328
-
329
- /**
330
- * repeated string child_node_ids = 8; // Children of this node, their parent_node_id must be set to this.id
331
- *
332
- * @generated from field: int32 sequence_hint = 9;
333
- */
334
- sequenceHint: number;
335
-
336
- /**
337
- * CAD/BOM path if available, e.g. "TopAssembly/DriveUnit:1/CoverSubAsm:1/Screw_M4x12:3"
338
- *
339
- * @generated from field: string cad_occurrence_path = 10;
340
- */
341
- cadOccurrencePath: string;
342
-
343
- /**
344
- * @generated from field: assembly.v1.JoinMethod join_method_hint = 11;
345
- */
346
- joinMethodHint: JoinMethod;
347
-
348
- /**
349
- * Offset from final pose to pre-insertion pose, in mm
350
- *
351
- * @generated from field: geometry.v1.Vector3 insertion_offset_hint = 12;
352
- */
353
- insertionOffsetHint?: Vector3;
354
-
355
- /**
356
- * Offset from final pose to preferred approach pose, in mm
357
- *
358
- * @generated from field: geometry.v1.Vector3 approach_offset_hint = 13;
359
- */
360
- approachOffsetHint?: Vector3;
361
-
362
- /**
363
- * @generated from field: bool optional = 14;
364
- */
365
- optional: boolean;
366
-
367
- /**
368
- * Applies if any rule matches. Empty means always applicable.
369
- *
370
- * @generated from field: repeated assembly.v1.VariantRule applicability = 15;
371
- */
372
- applicability: VariantRule[];
373
-
374
- /**
375
- * TODO: string or anchor reference_frame = 17; // allow tasks to anchor not just to a part but to features, e.g. insert screw into hole_1
376
- *
377
- * @generated from field: assembly.v1.CustomProperties custom = 16;
378
- */
379
- custom?: CustomProperties;
380
- };
381
-
382
- /**
383
- * Describes the message assembly.v1.AssemblyNode.
384
- * Use `create(AssemblyNodeSchema)` to create a new message.
385
- */
386
- export const AssemblyNodeSchema: GenMessage<AssemblyNode> = /*@__PURE__*/
387
- messageDesc(file_assembly_v1_product, 5);
388
-
389
- /**
390
- * @generated from message assembly.v1.PartDefinitions
391
- */
392
- export type PartDefinitions = Message<"assembly.v1.PartDefinitions"> & {
393
- /**
394
- * @generated from field: repeated assembly.v1.PartDefinition items = 1;
395
- */
396
- items: PartDefinition[];
397
- };
398
-
399
- /**
400
- * Describes the message assembly.v1.PartDefinitions.
401
- * Use `create(PartDefinitionsSchema)` to create a new message.
402
- */
403
- export const PartDefinitionsSchema: GenMessage<PartDefinitions> = /*@__PURE__*/
404
- messageDesc(file_assembly_v1_product, 6);
405
-
406
- /**
407
- * @generated from message assembly.v1.ProductDefinitions
408
- */
409
- export type ProductDefinitions = Message<"assembly.v1.ProductDefinitions"> & {
410
- /**
411
- * @generated from field: repeated assembly.v1.ProductDefinition items = 1;
412
- */
413
- items: ProductDefinition[];
414
- };
415
-
416
- /**
417
- * Describes the message assembly.v1.ProductDefinitions.
418
- * Use `create(ProductDefinitionsSchema)` to create a new message.
419
- */
420
- export const ProductDefinitionsSchema: GenMessage<ProductDefinitions> = /*@__PURE__*/
421
- messageDesc(file_assembly_v1_product, 7);
422
-
423
- /**
424
- * @generated from enum assembly.v1.PartType
425
- */
426
- export enum PartType {
427
- /**
428
- * @generated from enum value: PART_TYPE_UNSPECIFIED = 0;
429
- */
430
- UNSPECIFIED = 0,
431
-
432
- /**
433
- * General mechanical or non-specialized part/component
434
- *
435
- * @generated from enum value: PART_TYPE_COMPONENT = 1;
436
- */
437
- COMPONENT = 1,
438
-
439
- /**
440
- * Screw, bolt, nut, washer, rivet, insert, clip, etc.
441
- *
442
- * @generated from enum value: PART_TYPE_FASTENER = 2;
443
- */
444
- FASTENER = 2,
445
-
446
- /**
447
- * A part that is itself composed of multiple child parts
448
- *
449
- * @generated from enum value: PART_TYPE_SUBASSEMBLY = 3;
450
- */
451
- SUBASSEMBLY = 3,
452
-
453
- /**
454
- * General consumable used up during assembly or maintenance
455
- *
456
- * @generated from enum value: PART_TYPE_CONSUMABLE = 4;
457
- */
458
- CONSUMABLE = 4,
459
-
460
- /**
461
- * Sticker, rating plate, barcode label, warning label, etc.
462
- *
463
- * @generated from enum value: PART_TYPE_LABEL = 5;
464
- */
465
- LABEL = 5,
466
-
467
- /**
468
- * Box, bag, foam insert, tray cover, spacer, etc.
469
- *
470
- * @generated from enum value: PART_TYPE_PACKAGING = 6;
471
- */
472
- PACKAGING = 6,
473
-
474
- /**
475
- * Bare or populated printed circuit board
476
- *
477
- * @generated from enum value: PART_TYPE_PCB = 7;
478
- */
479
- PCB = 7,
480
-
481
- /**
482
- * LED, resistor, capacitor, IC, connector, relay, fuse, etc.
483
- *
484
- * @generated from enum value: PART_TYPE_ELECTRONIC_COMPONENT = 8;
485
- */
486
- ELECTRONIC_COMPONENT = 8,
487
-
488
- /**
489
- * Breaker, terminal block, battery, switch, power supply, wire harness, etc.
490
- *
491
- * @generated from enum value: PART_TYPE_ELECTRICAL_COMPONENT = 9;
492
- */
493
- ELECTRICAL_COMPONENT = 9,
494
-
495
- /**
496
- * Wire, cable, wire set, cable assembly, harness
497
- *
498
- * @generated from enum value: PART_TYPE_CABLE = 10;
499
- */
500
- CABLE = 10,
501
-
502
- /**
503
- * Grease, glue, sealant, potting compound, solder paste, flux, etc.
504
- *
505
- * @generated from enum value: PART_TYPE_DISPENSED_MATERIAL = 11;
506
- */
507
- DISPENSED_MATERIAL = 11,
508
- }
509
-
510
- /**
511
- * Describes the enum assembly.v1.PartType.
512
- */
513
- export const PartTypeSchema: GenEnum<PartType> = /*@__PURE__*/
514
- enumDesc(file_assembly_v1_product, 0);
515
-
516
- /**
517
- * NodeKind defines what kind of structural element the AssemblyNode is in the assembly hierarchy
518
- * NodeKind Represents Physical part? Has children?
519
- * GROUP logical grouping ❌ yes
520
- * PART_OCCURRENCE single physical part instance ✅ usually no
521
- * SUBASSEMBLY_OCCURRENCE assembly containing parts ✅ yes
522
- * PATTERN repeated pattern structure ❌ (structure) yes
523
- *
524
- * @generated from enum assembly.v1.NodeKind
525
- */
526
- export enum NodeKind {
527
- /**
528
- * @generated from enum value: NODE_KIND_UNSPECIFIED = 0;
529
- */
530
- UNSPECIFIED = 0,
531
-
532
- /**
533
- * A logical group node that does not correspond to a real physical part or subassembly. It exist only to organize the structure. Typical uses: CAD folders, BOM groupings, organizing fasteners, grouping operations, AR guidance grouping. part_definition_id should usually be empty.
534
- *
535
- * @generated from enum value: NODE_KIND_GROUP = 1;
536
- */
537
- GROUP = 1,
538
-
539
- /**
540
- * The most common node type which is a single instance of a physical part used in the product as it references a PartDefinition. part_definition_id = required, child_node-Ids = empty.
541
- *
542
- * @generated from enum value: NODE_KIND_PART_OCCURRENCE = 2;
543
- */
544
- PART_OCCURRENCE = 2,
545
-
546
- /**
547
- * A subassembly occurrence is a part that itself contains other parts. Thus a component that has its own internal structure. A subassembly is a real product structure (e.g. a Door assembly for a car) where group is a logical grouping. It usually appears in the BOM and often references a PartDefinition.
548
- *
549
- * @generated from enum value: NODE_KIND_SUBASSEMBLY_OCCURRENCE = 3;
550
- */
551
- SUBASSEMBLY_OCCURRENCE = 3,
552
-
553
- /**
554
- * A repeated pattern of parts created by CAD pattern features. Examples: bolt circle, linear pattern, hole array, repeated clips, repeated LEDs. Instead of listing every occurrence individually, the CAD may represent them as a pattern. Thus a pattern is a special kind of group?
555
- *
556
- * @generated from enum value: NODE_KIND_PATTERN = 4;
557
- */
558
- PATTERN = 4,
559
- }
560
-
561
- /**
562
- * Describes the enum assembly.v1.NodeKind.
563
- */
564
- export const NodeKindSchema: GenEnum<NodeKind> = /*@__PURE__*/
565
- enumDesc(file_assembly_v1_product, 1);
566
-
567
- /**
568
- * @generated from enum assembly.v1.JoinMethod
569
- */
570
- export enum JoinMethod {
571
- /**
572
- * @generated from enum value: JOIN_METHOD_UNSPECIFIED = 0;
573
- */
574
- UNSPECIFIED = 0,
575
-
576
- /**
577
- * @generated from enum value: JOIN_METHOD_NONE = 1;
578
- */
579
- NONE = 1,
580
-
581
- /**
582
- * @generated from enum value: JOIN_METHOD_FASTEN = 2;
583
- */
584
- FASTEN = 2,
585
-
586
- /**
587
- * @generated from enum value: JOIN_METHOD_PRESS_FIT = 3;
588
- */
589
- PRESS_FIT = 3,
590
-
591
- /**
592
- * @generated from enum value: JOIN_METHOD_SNAP_FIT = 4;
593
- */
594
- SNAP_FIT = 4,
595
-
596
- /**
597
- * @generated from enum value: JOIN_METHOD_ADHESIVE = 5;
598
- */
599
- ADHESIVE = 5,
600
-
601
- /**
602
- * @generated from enum value: JOIN_METHOD_WELD = 6;
603
- */
604
- WELD = 6,
605
-
606
- /**
607
- * @generated from enum value: JOIN_METHOD_PLACE = 7;
608
- */
609
- PLACE = 7,
610
- }
611
-
612
- /**
613
- * Describes the enum assembly.v1.JoinMethod.
614
- */
615
- export const JoinMethodSchema: GenEnum<JoinMethod> = /*@__PURE__*/
616
- enumDesc(file_assembly_v1_product, 2);
617
-
618
- /**
619
- * @generated from enum assembly.v1.MaterialCategory
620
- */
621
- export enum MaterialCategory {
622
- /**
623
- * @generated from enum value: MATERIAL_CATEGORY_UNSPECIFIED = 0;
624
- */
625
- UNSPECIFIED = 0,
626
-
627
- /**
628
- * Metals and metal alloys
629
- *
630
- * @generated from enum value: MATERIAL_CATEGORY_METAL = 1;
631
- */
632
- METAL = 1,
633
-
634
- /**
635
- * Thermoplastics / thermosets
636
- *
637
- * @generated from enum value: MATERIAL_CATEGORY_POLYMER = 2;
638
- */
639
- POLYMER = 2,
640
-
641
- /**
642
- * Flexible rubber-like materials
643
- *
644
- * @generated from enum value: MATERIAL_CATEGORY_ELASTOMER = 3;
645
- */
646
- ELASTOMER = 3,
647
-
648
- /**
649
- * Fiber-reinforced / layered materials
650
- *
651
- * @generated from enum value: MATERIAL_CATEGORY_COMPOSITE = 4;
652
- */
653
- COMPOSITE = 4,
654
-
655
- /**
656
- * Ceramics and similar brittle inorganic materials
657
- *
658
- * @generated from enum value: MATERIAL_CATEGORY_CERAMIC = 5;
659
- */
660
- CERAMIC = 5,
661
-
662
- /**
663
- * Glass and glass-like transparent materials
664
- *
665
- * @generated from enum value: MATERIAL_CATEGORY_GLASS = 6;
666
- */
667
- GLASS = 6,
668
-
669
- /**
670
- * Wood and wood-derived materials
671
- *
672
- * @generated from enum value: MATERIAL_CATEGORY_WOOD = 7;
673
- */
674
- WOOD = 7,
675
-
676
- /**
677
- * Cellular / expanded materials
678
- *
679
- * @generated from enum value: MATERIAL_CATEGORY_FOAM = 8;
680
- */
681
- FOAM = 8,
682
-
683
- /**
684
- * PCB substrate materials such as FR-4, polyimide, CEM-1, ceramic PCB
685
- *
686
- * @generated from enum value: MATERIAL_CATEGORY_ELECTRONICS_SUBSTRATE = 9;
687
- */
688
- ELECTRONICS_SUBSTRATE = 9,
689
-
690
- /**
691
- * Adhesive, grease, sealant, potting compound, coating, flux, etc.
692
- *
693
- * @generated from enum value: MATERIAL_CATEGORY_CHEMICAL = 10;
694
- */
695
- CHEMICAL = 10,
696
-
697
- /**
698
- * Anything not fitting the categories above
699
- *
700
- * @generated from enum value: MATERIAL_CATEGORY_OTHER = 99;
701
- */
702
- OTHER = 99,
703
- }
704
-
705
- /**
706
- * Describes the enum assembly.v1.MaterialCategory.
707
- */
708
- export const MaterialCategorySchema: GenEnum<MaterialCategory> = /*@__PURE__*/
709
- enumDesc(file_assembly_v1_product, 3);
710
-