diff --git a/weldx/schemas/weldx.bam.de/weldx/datamodels/multi_pass_weld-0.1.0.yaml b/weldx/schemas/weldx.bam.de/weldx/datamodels/multi_pass_weld-0.1.0.yaml index 334eb4a9b..8a546b0ee 100644 --- a/weldx/schemas/weldx.bam.de/weldx/datamodels/multi_pass_weld-0.1.0.yaml +++ b/weldx/schemas/weldx.bam.de/weldx/datamodels/multi_pass_weld-0.1.0.yaml @@ -4,21 +4,27 @@ $schema: "http://stsci.edu/schemas/yaml-schema/draft-01" id: "asdf://weldx.bam.de/weldx/schemas/datamodels/multi_pass_weld-0.1.0" title: | - A generic multi layer GMAW weldment. + A generic multi-layer GMAW weldment. +description: | + This schema describes a welding application consisting of multiple passes. -type: object -properties: - workpiece: - description: | - The workpiece to be welded defined by the base metal and the geometric description of the weld seam. - type: object + The individual weldments are hierarchically grouped into beads, layers and seams. This is reflected by a nested array + with the name `weld_seam` and a nesting depth of 4 (seam, layer, bead, weldment). - weld_seam: - description: | - List of weld seams composing the final weldment. - type: array - items: - $ref: "#/definitions/weld_seam" + Each weldment may contain the following data: + + - process + - TCP + - welding_current + - welding_voltage + + The `process` entry contains all relevant data that describes the welding process. A comprehensive list of all + optional and required fields can be [found here](https://weldx.readthedocs.io/projects/weldx-standard/en/latest/generated/schemas/process/terms-0.1.0.html#base_process). + `TCP` describes the trajectory of the torch during the weldment process. The TCP data of all weldments must be + defined in relation to the workpiece coordinate system. + The welding_current and welding_voltage entries refer to signals containing the final measurement data of corresponding dimensions [current] and [voltage]. + + > Note that this schema is currently work in progress and some optional data might become required in the future. definitions: weld_seam: @@ -41,3 +47,99 @@ definitions: type: array items: $ref: "./terms-0.1.0#/weldment" + +type: object +properties: + workpiece: + description: | + The workpiece to be welded defined by the base metal and the geometric description of the weld seam. + type: object + + weld_seam: + description: | + List of weld seams composing the final weldment. + type: array + items: + $ref: "#/definitions/weld_seam" + +examples: + - + - Two seams with a single layer and bead, but the first seam has two weldments while the second has only one. + - | + ! + weld_seam: + - - - - TCP: ! + time: ! + values: !core/ndarray-1.0.0 + data: [0, 30000000000] + datatype: int64 + shape: [2] + start: ! P0DT0H0M0S + end: ! P0DT0H0M30S + min: ! P0DT0H0M0S + max: ! P0DT0H0M30S + coordinates: ! + name: coordinates + dimensions: [c] + dtype: millimeter + data: !core/ndarray-1.0.0 + data: [[0, 0, 0], [50, 0, 0]] + datatype: float64 + shape: [2, 3] + welding_voltage: ! + units: ! volt + value: 30 + welding_current: ! + units: ! ampere + value: 250 + - - TCP: ! + time: ! + values: !core/ndarray-1.0.0 + data: [0, 30000000000] + datatype: int64 + shape: [2] + start: ! P0DT0H0M0S + end: ! P0DT0H0M30S + min: ! P0DT0H0M0S + max: ! P0DT0H0M30S + coordinates: ! + name: coordinates + dimensions: [c] + dtype: millimeter + data: !core/ndarray-1.0.0 + data: [[0, 5, 0], [50, 5, 0]] + datatype: float64 + shape: [2, 3] + welding_voltage: ! + units: ! volt + value: 30 + welding_current: ! + units: ! ampere + value: 250 + - - - - TCP: ! + time: ! + values: !core/ndarray-1.0.0 + data: [0, 30000000000] + datatype: int64 + shape: [2] + start: ! P0DT0H0M0S + end: ! P0DT0H0M30S + min: ! P0DT0H0M0S + max: ! P0DT0H0M30S + coordinates: ! + name: coordinates + dimensions: [c] + dtype: millimeter + data: !core/ndarray-1.0.0 + data: [[0, 2.5, 5], [50, 2.5, 5]] + datatype: float64 + shape: [2, 3] + welding_voltage: ! + units: ! volt + value: 30 + welding_current: ! + units: ! ampere + value: 350