visual3d:documentation:pipeline:file_commands:export_data_to_ascii_file
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:pipeline:file_commands:export_data_to_ascii_file [2024/11/15 16:55] – sgranger | visual3d:documentation:pipeline:file_commands:export_data_to_ascii_file [2025/06/09 21:27] (current) – wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Export Data To ASCII File ===== | + | ====== Export Data To ASCII File ====== |
+ | |||
+ | ===== Overview | ||
This pipeline command converts data from the [[visual3d: | This pipeline command converts data from the [[visual3d: | ||
Line 5: | Line 7: | ||
**NOTE**: This command pulls data from the [[visual3d: | **NOTE**: This command pulls data from the [[visual3d: | ||
- | ==== Pipeline Command ==== | + | ===== Pipeline Command |
- | |**Export_Data_To_Ascii_File** | + | The command below is as seen on the Visual3D application, it has many parameters as there are options |
- | |/ | + | |
- | |/ | + | |
- | |! / | + | |
- | |/ | + | |
- | |! / | + | |
- | |/ | + | |
- | |! / | + | |
- | |! / | + | |
- | |! / | + | |
- | |! / | + | |
- | |! / | + | |
- | |! / | + | |
- | |! / | + | |
- | |! / | + | |
- | |! / | + | |
- | |! / | + | |
- | |! / | + | |
- | |! / | + | |
- | |! / | + | |
- | |! / | + | |
- | |! / | + | |
- | |! / | + | |
- | |! / | + | |
- | |! / | + | |
- | |**; | + | |
- | ==== Dialog | + | < |
- | The following dialog appears when the **EXPORT_DATA_TO_ASCII_FILE** command has been added to the pipeline and the user double-clicks with the Left Mouse Button on the command. | + | Export_Data_To_Ascii_File |
+ | !/FILE_NAME= | ||
+ | / | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | ; | ||
+ | </ | ||
- | {{:exportascii.png}} | + | **Note:** |
- | + | ||
- | ==== Important Notes ==== | + | |
Visual3D reserves the signal names ORIGIN, ROTATION and QUATERNION for exporting the pose of a segment. Do not use these names for any signal definition other than the RESERVED intention. | Visual3D reserves the signal names ORIGIN, ROTATION and QUATERNION for exporting the pose of a segment. Do not use these names for any signal definition other than the RESERVED intention. | ||
Line 45: | Line 47: | ||
If you choose to normalize the data for the ASCII output, by setting the parameter **/ | If you choose to normalize the data for the ASCII output, by setting the parameter **/ | ||
- | ==== Examples ==== | + | ===== Command Parameters ===== |
+ | |||
+ | The following table shows the command parameters and descriptions: | ||
+ | |||
+ | |**Parameter** | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**! / | ||
+ | |**/ | ||
+ | |**! / | ||
+ | |**/ | ||
+ | |**! / | ||
+ | |**! / | ||
+ | |**! / | ||
+ | |**! / | ||
+ | |**! / | ||
+ | |**! / | ||
+ | |**! / | ||
+ | |**! / | ||
+ | |**! / | ||
+ | |**! / | ||
+ | |**! / | ||
+ | |**! / | ||
+ | |**! / | ||
+ | |**! / | ||
+ | |**! / | ||
+ | |**! / | ||
+ | |**! / | ||
+ | |**! / | ||
+ | |||
+ | |||
+ | ===== Dialog ===== | ||
+ | |||
+ | The following dialog appears when the **EXPORT_DATA_TO_ASCII_FILE** command has been added to the pipeline and the user double-clicks with the Left Mouse Button on the command. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ===== Examples | ||
We have listed a few examples of how this pipeline command can be used. | We have listed a few examples of how this pipeline command can be used. | ||
- | === Example 1: Exporting multiple files === | + | ==== Example 1: Exporting multiple files ==== |
Using [[# | Using [[# | ||
Line 89: | Line 128: | ||
Export_Data_To_Ascii_File | Export_Data_To_Ascii_File | ||
/ | / | ||
- | / | + | / |
- | / | + | / |
/ | / | ||
/ | / | ||
Line 109: | Line 148: | ||
</ | </ | ||
- | === Example 2: Exporting multiple files with extension update === | + | ==== Example 2: Exporting multiple files with extension update |
In this example, the output files' names will be changed by concatenating the C3D filename with a .txt extension. This is done with the [[Visual3D: | In this example, the output files' names will be changed by concatenating the C3D filename with a .txt extension. This is done with the [[Visual3D: | ||
Line 175: | Line 214: | ||
</ | </ | ||
- | === Example 3 : Export selected ranges from files === | + | ==== Example 3 : Export selected ranges from files ==== |
One can export ASCII data for selected ranges. In this example, there are two options for accomplishing this task. | One can export ASCII data for selected ranges. In this example, there are two options for accomplishing this task. | ||
Line 250: | Line 289: | ||
</ | </ | ||
- | === Example 4: Export a MODEL metric from several CMX files === | + | ==== Example 4: Export a MODEL metric from several CMX files ==== |
Given a set of CMZ files, we will open each CMZ file and export one or more METRICS from the MODEL. In this example, the Pelvis segment' | Given a set of CMZ files, we will open each CMZ file and export one or more METRICS from the MODEL. In this example, the Pelvis segment' | ||
Line 337: | Line 376: | ||
</ | </ | ||
- | === Example 5: Export Events from Files === | + | ==== Example 5: Export Events from Files ==== |
This example will export all Event occurrences in terms of frame numbers to ASCII. In this example the events are labeled LHS1, LHS2, LHS3, RHS1, RHS2 and were created using the Number_Events_Sequentially.v3m meta-command. | This example will export all Event occurrences in terms of frame numbers to ASCII. In this example the events are labeled LHS1, LHS2, LHS3, RHS1, RHS2 and were created using the Number_Events_Sequentially.v3m meta-command. | ||
Line 415: | Line 454: | ||
</ | </ | ||
- | === Example 6: Export Concatenated Signals === | + | ==== Example 6: Export Concatenated Signals |
All signals are exported to separate columns in the exported file. For metric signals (e.g. signals with only one or two entries/ | All signals are exported to separate columns in the exported file. For metric signals (e.g. signals with only one or two entries/ | ||
Line 532: | Line 571: | ||
{{: | {{: | ||
- | In very versions of Visual3D prior to version 5, the Merge_Data command did not provide this functionality, | + | In versions of Visual3D prior to version 5, the Merge_Data command did not provide this functionality, |
+ | ---- | ||
[[Visual3D: | [[Visual3D: | ||
visual3d/documentation/pipeline/file_commands/export_data_to_ascii_file.1731689705.txt.gz · Last modified: 2024/11/15 16:55 by sgranger