@cobotar/protocol 0.16.11 → 0.17.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.
@@ -0,0 +1,570 @@
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 { Pose } from "../../geometry/v1/pose_pb.ts";
10
+ import { file_geometry_v1_pose } from "../../geometry/v1/pose_pb.ts";
11
+ import type { Vector3 } from "../../geometry/v1/vector3_pb.ts";
12
+ import { file_geometry_v1_vector3 } from "../../geometry/v1/vector3_pb.ts";
13
+ import type { Message } from "@bufbuild/protobuf";
14
+
15
+ /**
16
+ * Describes the file assembly/v1/product.proto.
17
+ */
18
+ export const file_assembly_v1_product: GenFile = /*@__PURE__*/
19
+ fileDesc("Chlhc3NlbWJseS92MS9wcm9kdWN0LnByb3RvEgthc3NlbWJseS52MSI2CgpEaW1lbnNpb25zEgwKBHhfbW0YASABKAESDAoEeV9tbRgCIAEoARIMCgR6X21tGAMgASgBIisKDE1hdGVyaWFsU3BlYxIMCgRuYW1lGAEgASgJEg0KBWdyYWRlGAIgASgJIuYBChNQYXJ0SGFuZGxpbmdQcm9maWxlEg8KB2ZyYWdpbGUYASABKAgSFQoNZXNkX3NlbnNpdGl2ZRgCIAEoCBIeChZyZXF1aXJlc190d29faGFuZF9saWZ0GAMgASgIEiAKGHJlcXVpcmVzX2ZpeHR1cmVfc3VwcG9ydBgEIAEoCBIYChBtYXhfZ3JpcF9mb3JjZV9uGAUgASgBEhUKDW1heF90b3JxdWVfbm0YBiAB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VBFX0xBQkVMEAUSFwoTUEFSVF9UWVBFX1BBQ0tBR0lORxAGKpYBCghOb2RlS2luZBIZChVOT0RFX0tJTkRfVU5TUEVDSUZJRUQQABITCg9OT0RFX0tJTkRfR1JPVVAQARIdChlOT0RFX0tJTkRfUEFSVF9PQ0NVUlJFTkNFEAISJAogTk9ERV9LSU5EX1NVQkFTU0VNQkxZX09DQ1VSUkVOQ0UQAxIVChFOT0RFX0tJTkRfUEFUVEVSThAEKtMBCgpKb2luTWV0aG9kEhsKF0pPSU5fTUVUSE9EX1VOU1BFQ0lGSUVEEAASFAoQSk9JTl9NRVRIT0RfTk9ORRABEhYKEkpPSU5fTUVUSE9EX0ZBU1RFThACEhkKFUpPSU5fTUVUSE9EX1BSRVNTX0ZJVBADEhgKFEpPSU5fTUVUSE9EX1NOQVBfRklUEAQSGAoUSk9JTl9NRVRIT0RfQURIRVNJVkUQBRIUChBKT0lOX01FVEhPRF9XRUxEEAYSFQoRSk9JTl9NRVRIT0RfUExBQ0UQB0KyAQoPY29tLmFzc2VtYmx5LnYxQgxQcm9kdWN0UHJvdG9QAVo7Z2l0aHViLmNvbS9jb2JvdGFyL3Byb3RvY29sL21lc3NhZ2VzL2Fzc2VtYmx5L3YxO2Fzc2VtYmx5djGiAgNBWFiqAhRNZXNzYWdlcy5Bc3NlbWJseS5WMcoCC0Fzc2VtYmx5XFYx4gIXQXNzZW1ibHlcVjFcR1BCTWV0YWRhdGHqAgxBc3NlbWJseTo6VjFiBnByb3RvMw", [file_assembly_v1_common, file_geometry_v1_pose, file_geometry_v1_vector3]);
20
+
21
+ /**
22
+ * @generated from message assembly.v1.Dimensions
23
+ */
24
+ export type Dimensions = Message<"assembly.v1.Dimensions"> & {
25
+ /**
26
+ * @generated from field: double x_mm = 1;
27
+ */
28
+ xMm: number;
29
+
30
+ /**
31
+ * @generated from field: double y_mm = 2;
32
+ */
33
+ yMm: number;
34
+
35
+ /**
36
+ * @generated from field: double z_mm = 3;
37
+ */
38
+ zMm: number;
39
+ };
40
+
41
+ /**
42
+ * Describes the message assembly.v1.Dimensions.
43
+ * Use `create(DimensionsSchema)` to create a new message.
44
+ */
45
+ export const DimensionsSchema: GenMessage<Dimensions> = /*@__PURE__*/
46
+ messageDesc(file_assembly_v1_product, 0);
47
+
48
+ /**
49
+ * MaterialSpec is meant to capture the engineering material identity of a part
50
+ * name → the material family / type
51
+ * grade → the standardized grade or specification
52
+ * Examples:
53
+ * name: aluminium, grade: 6061-T6
54
+ * name: Steel, grade: S355JR
55
+ * name: stainless steel, grade: AISI 304
56
+ * name: ABS, grade: general purpose
57
+ * name: Polycarbonate, grade: PC-110
58
+ * name: Nylon, grade: PA6 GF15
59
+ * name: TPU, grade: 70 Shore A
60
+ *
61
+ * @generated from message assembly.v1.MaterialSpec
62
+ */
63
+ export type MaterialSpec = Message<"assembly.v1.MaterialSpec"> & {
64
+ /**
65
+ * Material family
66
+ *
67
+ * @generated from field: string name = 1;
68
+ */
69
+ name: string;
70
+
71
+ /**
72
+ * Standard/Specification
73
+ *
74
+ * @generated from field: string grade = 2;
75
+ */
76
+ grade: string;
77
+ };
78
+
79
+ /**
80
+ * Describes the message assembly.v1.MaterialSpec.
81
+ * Use `create(MaterialSpecSchema)` to create a new message.
82
+ */
83
+ export const MaterialSpecSchema: GenMessage<MaterialSpec> = /*@__PURE__*/
84
+ messageDesc(file_assembly_v1_product, 1);
85
+
86
+ /**
87
+ * @generated from message assembly.v1.PartHandlingProfile
88
+ */
89
+ export type PartHandlingProfile = Message<"assembly.v1.PartHandlingProfile"> & {
90
+ /**
91
+ * @generated from field: bool fragile = 1;
92
+ */
93
+ fragile: boolean;
94
+
95
+ /**
96
+ * @generated from field: bool esd_sensitive = 2;
97
+ */
98
+ esdSensitive: boolean;
99
+
100
+ /**
101
+ * @generated from field: bool requires_two_hand_lift = 3;
102
+ */
103
+ requiresTwoHandLift: boolean;
104
+
105
+ /**
106
+ * If true, this part cannot realistically be handled/assembled without some fixture support
107
+ *
108
+ * @generated from field: bool requires_fixture_support = 4;
109
+ */
110
+ requiresFixtureSupport: boolean;
111
+
112
+ /**
113
+ * @generated from field: double max_grip_force_n = 5;
114
+ */
115
+ maxGripForceN: number;
116
+
117
+ /**
118
+ * @generated from field: double max_torque_nm = 6;
119
+ */
120
+ maxTorqueNm: number;
121
+
122
+ /**
123
+ * @generated from field: repeated assembly.v1.KeyValueConstraint constraints = 7;
124
+ */
125
+ constraints: KeyValueConstraint[];
126
+ };
127
+
128
+ /**
129
+ * Describes the message assembly.v1.PartHandlingProfile.
130
+ * Use `create(PartHandlingProfileSchema)` to create a new message.
131
+ */
132
+ export const PartHandlingProfileSchema: GenMessage<PartHandlingProfile> = /*@__PURE__*/
133
+ messageDesc(file_assembly_v1_product, 2);
134
+
135
+ /**
136
+ * @generated from message assembly.v1.PartDefinition
137
+ */
138
+ export type PartDefinition = Message<"assembly.v1.PartDefinition"> & {
139
+ /**
140
+ * @generated from field: string id = 1;
141
+ */
142
+ id: string;
143
+
144
+ /**
145
+ * @generated from field: string name = 2;
146
+ */
147
+ name: string;
148
+
149
+ /**
150
+ * @generated from field: string description = 3;
151
+ */
152
+ description: string;
153
+
154
+ /**
155
+ * @generated from field: string icon = 4;
156
+ */
157
+ icon: string;
158
+
159
+ /**
160
+ * @generated from field: assembly.v1.PartType type = 5;
161
+ */
162
+ type: PartType;
163
+
164
+ /**
165
+ * @generated from field: int64 weight_g = 6;
166
+ */
167
+ weightG: bigint;
168
+
169
+ /**
170
+ * @generated from field: assembly.v1.Dimensions dimensions = 7;
171
+ */
172
+ dimensions?: Dimensions;
173
+
174
+ /**
175
+ * @generated from field: assembly.v1.MaterialSpec material = 8;
176
+ */
177
+ material?: MaterialSpec;
178
+
179
+ /**
180
+ * Can later be extended to: CAD model (STEP), AR model (FBX), and lightweight mesh (OBJ)
181
+ *
182
+ * @generated from field: string default_model_id = 9;
183
+ */
184
+ defaultModelId: string;
185
+
186
+ /**
187
+ * @generated from field: assembly.v1.PartHandlingProfile handling = 10;
188
+ */
189
+ handling?: PartHandlingProfile;
190
+
191
+ /**
192
+ * @generated from field: repeated assembly.v1.ExternalReference external_references = 11;
193
+ */
194
+ externalReferences: ExternalReference[];
195
+
196
+ /**
197
+ * @generated from field: assembly.v1.CustomProperties custom = 12;
198
+ */
199
+ custom?: CustomProperties;
200
+ };
201
+
202
+ /**
203
+ * Describes the message assembly.v1.PartDefinition.
204
+ * Use `create(PartDefinitionSchema)` to create a new message.
205
+ */
206
+ export const PartDefinitionSchema: GenMessage<PartDefinition> = /*@__PURE__*/
207
+ messageDesc(file_assembly_v1_product, 3);
208
+
209
+ /**
210
+ * @generated from message assembly.v1.ProductDefinition
211
+ */
212
+ export type ProductDefinition = Message<"assembly.v1.ProductDefinition"> & {
213
+ /**
214
+ * @generated from field: string id = 1;
215
+ */
216
+ id: string;
217
+
218
+ /**
219
+ * @generated from field: string name = 2;
220
+ */
221
+ name: string;
222
+
223
+ /**
224
+ * @generated from field: string description = 3;
225
+ */
226
+ description: string;
227
+
228
+ /**
229
+ * @generated from field: string icon = 4;
230
+ */
231
+ icon: string;
232
+
233
+ /**
234
+ * @generated from field: string root_node_id = 5;
235
+ */
236
+ rootNodeId: string;
237
+
238
+ /**
239
+ * @generated from field: repeated assembly.v1.AssemblyNode nodes = 6;
240
+ */
241
+ nodes: AssemblyNode[];
242
+
243
+ /**
244
+ * @generated from field: repeated assembly.v1.ExternalReference external_references = 7;
245
+ */
246
+ externalReferences: ExternalReference[];
247
+
248
+ /**
249
+ * @generated from field: assembly.v1.CustomProperties custom = 8;
250
+ */
251
+ custom?: CustomProperties;
252
+ };
253
+
254
+ /**
255
+ * Describes the message assembly.v1.ProductDefinition.
256
+ * Use `create(ProductDefinitionSchema)` to create a new message.
257
+ */
258
+ export const ProductDefinitionSchema: GenMessage<ProductDefinition> = /*@__PURE__*/
259
+ messageDesc(file_assembly_v1_product, 4);
260
+
261
+ /**
262
+ * @generated from message assembly.v1.VariantCondition
263
+ */
264
+ export type VariantCondition = Message<"assembly.v1.VariantCondition"> & {
265
+ /**
266
+ * e.g. "hinge_side"
267
+ *
268
+ * @generated from field: string dimension = 1;
269
+ */
270
+ dimension: string;
271
+
272
+ /**
273
+ * e.g. ["left"]
274
+ *
275
+ * @generated from field: repeated string values = 2;
276
+ */
277
+ values: string[];
278
+ };
279
+
280
+ /**
281
+ * Describes the message assembly.v1.VariantCondition.
282
+ * Use `create(VariantConditionSchema)` to create a new message.
283
+ */
284
+ export const VariantConditionSchema: GenMessage<VariantCondition> = /*@__PURE__*/
285
+ messageDesc(file_assembly_v1_product, 5);
286
+
287
+ /**
288
+ * @generated from message assembly.v1.AssemblyNode
289
+ */
290
+ export type AssemblyNode = Message<"assembly.v1.AssemblyNode"> & {
291
+ /**
292
+ * @generated from field: string id = 1;
293
+ */
294
+ id: string;
295
+
296
+ /**
297
+ * Empty if root, otherwise set to parent AssemblyNode id.
298
+ *
299
+ * @generated from field: string parent_node_id = 2;
300
+ */
301
+ parentNodeId: string;
302
+
303
+ /**
304
+ * Name of this assembly node
305
+ *
306
+ * @generated from field: string name = 3;
307
+ */
308
+ name: string;
309
+
310
+ /**
311
+ * @generated from field: assembly.v1.NodeKind kind = 4;
312
+ */
313
+ kind: NodeKind;
314
+
315
+ /**
316
+ * @generated from field: string part_definition_id = 5;
317
+ */
318
+ partDefinitionId: string;
319
+
320
+ /**
321
+ * @generated from field: string override_model_id = 6;
322
+ */
323
+ overrideModelId: string;
324
+
325
+ /**
326
+ * @generated from field: geometry.v1.Pose local_pose = 7;
327
+ */
328
+ localPose?: Pose;
329
+
330
+ /**
331
+ * Children of this node, their parent_node_id must be set to this.id
332
+ *
333
+ * @generated from field: repeated string child_node_ids = 8;
334
+ */
335
+ childNodeIds: string[];
336
+
337
+ /**
338
+ * @generated from field: int32 sequence_hint = 9;
339
+ */
340
+ sequenceHint: number;
341
+
342
+ /**
343
+ * CAD/BOM path if available, e.g. "TopAssembly/DriveUnit:1/CoverSubAsm:1/Screw_M4x12:3"
344
+ *
345
+ * @generated from field: string cad_occurrence_path = 10;
346
+ */
347
+ cadOccurrencePath: string;
348
+
349
+ /**
350
+ * @generated from field: assembly.v1.JoinMethod join_method_hint = 11;
351
+ */
352
+ joinMethodHint: JoinMethod;
353
+
354
+ /**
355
+ * @generated from field: geometry.v1.Vector3 insertion_axis_hint = 12;
356
+ */
357
+ insertionAxisHint?: Vector3;
358
+
359
+ /**
360
+ * @generated from field: geometry.v1.Vector3 preferred_approach_hint = 13;
361
+ */
362
+ preferredApproachHint?: Vector3;
363
+
364
+ /**
365
+ * @generated from field: bool optional = 14;
366
+ */
367
+ optional: boolean;
368
+
369
+ /**
370
+ * @generated from field: repeated assembly.v1.VariantCondition applicability = 15;
371
+ */
372
+ applicability: VariantCondition[];
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, 6);
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, 7);
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, 8);
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
+ * @generated from enum value: PART_TYPE_COMPONENT = 1;
434
+ */
435
+ COMPONENT = 1,
436
+
437
+ /**
438
+ * @generated from enum value: PART_TYPE_FASTENER = 2;
439
+ */
440
+ FASTENER = 2,
441
+
442
+ /**
443
+ * @generated from enum value: PART_TYPE_SUBASSEMBLY = 3;
444
+ */
445
+ SUBASSEMBLY = 3,
446
+
447
+ /**
448
+ * @generated from enum value: PART_TYPE_CONSUMABLE = 4;
449
+ */
450
+ CONSUMABLE = 4,
451
+
452
+ /**
453
+ * @generated from enum value: PART_TYPE_LABEL = 5;
454
+ */
455
+ LABEL = 5,
456
+
457
+ /**
458
+ * @generated from enum value: PART_TYPE_PACKAGING = 6;
459
+ */
460
+ PACKAGING = 6,
461
+ }
462
+
463
+ /**
464
+ * Describes the enum assembly.v1.PartType.
465
+ */
466
+ export const PartTypeSchema: GenEnum<PartType> = /*@__PURE__*/
467
+ enumDesc(file_assembly_v1_product, 0);
468
+
469
+ /**
470
+ * NodeKind defines what kind of structural element the AssemblyNode is in the assembly hierarchy
471
+ * NodeKind Represents Physical part? Has children?
472
+ * GROUP logical grouping ❌ yes
473
+ * PART_OCCURRENCE single physical part instance ✅ usually no
474
+ * SUBASSEMBLY_OCCURRENCE assembly containing parts ✅ yes
475
+ * PATTERN repeated pattern structure ❌ (structure) yes
476
+ *
477
+ * @generated from enum assembly.v1.NodeKind
478
+ */
479
+ export enum NodeKind {
480
+ /**
481
+ * @generated from enum value: NODE_KIND_UNSPECIFIED = 0;
482
+ */
483
+ UNSPECIFIED = 0,
484
+
485
+ /**
486
+ * 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.
487
+ *
488
+ * @generated from enum value: NODE_KIND_GROUP = 1;
489
+ */
490
+ GROUP = 1,
491
+
492
+ /**
493
+ * 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.
494
+ *
495
+ * @generated from enum value: NODE_KIND_PART_OCCURRENCE = 2;
496
+ */
497
+ PART_OCCURRENCE = 2,
498
+
499
+ /**
500
+ * 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.
501
+ *
502
+ * @generated from enum value: NODE_KIND_SUBASSEMBLY_OCCURRENCE = 3;
503
+ */
504
+ SUBASSEMBLY_OCCURRENCE = 3,
505
+
506
+ /**
507
+ * 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?
508
+ *
509
+ * @generated from enum value: NODE_KIND_PATTERN = 4;
510
+ */
511
+ PATTERN = 4,
512
+ }
513
+
514
+ /**
515
+ * Describes the enum assembly.v1.NodeKind.
516
+ */
517
+ export const NodeKindSchema: GenEnum<NodeKind> = /*@__PURE__*/
518
+ enumDesc(file_assembly_v1_product, 1);
519
+
520
+ /**
521
+ * @generated from enum assembly.v1.JoinMethod
522
+ */
523
+ export enum JoinMethod {
524
+ /**
525
+ * @generated from enum value: JOIN_METHOD_UNSPECIFIED = 0;
526
+ */
527
+ UNSPECIFIED = 0,
528
+
529
+ /**
530
+ * @generated from enum value: JOIN_METHOD_NONE = 1;
531
+ */
532
+ NONE = 1,
533
+
534
+ /**
535
+ * @generated from enum value: JOIN_METHOD_FASTEN = 2;
536
+ */
537
+ FASTEN = 2,
538
+
539
+ /**
540
+ * @generated from enum value: JOIN_METHOD_PRESS_FIT = 3;
541
+ */
542
+ PRESS_FIT = 3,
543
+
544
+ /**
545
+ * @generated from enum value: JOIN_METHOD_SNAP_FIT = 4;
546
+ */
547
+ SNAP_FIT = 4,
548
+
549
+ /**
550
+ * @generated from enum value: JOIN_METHOD_ADHESIVE = 5;
551
+ */
552
+ ADHESIVE = 5,
553
+
554
+ /**
555
+ * @generated from enum value: JOIN_METHOD_WELD = 6;
556
+ */
557
+ WELD = 6,
558
+
559
+ /**
560
+ * @generated from enum value: JOIN_METHOD_PLACE = 7;
561
+ */
562
+ PLACE = 7,
563
+ }
564
+
565
+ /**
566
+ * Describes the enum assembly.v1.JoinMethod.
567
+ */
568
+ export const JoinMethodSchema: GenEnum<JoinMethod> = /*@__PURE__*/
569
+ enumDesc(file_assembly_v1_product, 2);
570
+