visual3d:documentation:pipeline:file_commands:export_c3dfile
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_c3dfile [2024/06/26 20:05] – removed sgranger | visual3d:documentation:pipeline:file_commands:export_c3dfile [2025/06/09 21:23] (current) – wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Export C3DFile ====== | ||
+ | |||
+ | ===== Overview ===== | ||
+ | |||
+ | The **Export_C3DFile** command is available in the Visual3D as a way to export a C3D file. | ||
+ | * The manual option is through the Export Menu commands that can be found in the File Menu. A dialog will open and allow you to make selections for how you wish to have the data exported. | ||
+ | * The additional feature of the pipeline command that is not available in the menu command is the ability to use wildcards to export multiple C3D files. | ||
+ | |||
+ | ===== Pipeline Command ===== | ||
+ | |||
+ | The command below is as seen on the Visual3D application, | ||
+ | |||
+ | < | ||
+ | Export_C3DFile | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! /SUFFIX=_ | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ===== Command Parameters ===== | ||
+ | |||
+ | The **Export_C3DFile** command parameter definitions are found below: | ||
+ | |||
+ | |**Parameter**|**Description**| | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |||
+ | ===== Dialog ===== | ||
+ | |||
+ | The command can be edited in a text editor or in dialog form. To edit in the dialog, either click on the **Edit** button in the pipeline workshop, or double-click on the pipeline command. The dialog is shown below: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | * **File to Export**: Dropdown to select the currently loaded motion file (C3D) from the workspace. | ||
+ | * **New File Name**: Field to define the new exported C3D file name. | ||
+ | * **Export Folder**: Directory where the exported file will be saved. You can browse to select a location. | ||
+ | * **File Suffix**: Text suffix added to the original filename. | ||
+ | * **Replace File if it Exists**: If checked, allows overwriting existing C3D files with the same name. | ||
+ | * **Prompt for new file if folder and filename are blank**: Ensures a prompt appears if no filename or folder is specified. | ||
+ | * **Select Old 4/18 Character Event Labels in Header to Export**: Text field or listbox to manually enter or select legacy event labels. | ||
+ | * **Export Original First Frame**: Maintains the original file's start frame (otherwise export starts at frame 1 or a specified value. | ||
+ | * **Export All Landmarks as Targets**: Includes digitized anatomical landmarks in the export as regular target points. | ||
+ | * **Export Functional Joint Landmarks as Targets**: Exports joint center landmarks as target markers. | ||
+ | * **Export Unnamed and Empty Targets**: Includes targets that do not have reliable tracking or are unnamed. | ||
+ | * **Export Processed Target Data**: Exports the filtered or otherwise processed marker data instead of raw target signals. | ||
+ | * **Export Processed Analog Data**: Exports processed analog signals (e.g., filtered EMG) instead of raw analog data. | ||
+ | * **4 Character Labels**: If checked, trims target names to four characters for older software compatibility. | ||
+ | * **Truncate Parameters Section**: Reduces the parameter section to the minimum required set (useful for older systems or simpler exports). | ||
+ | * **Export Old 4/18 Character Event Labels in Header**: Uses older event label format in the C3D header for compatibility with legacy systems. | ||
+ | * **Endian**: Dropdown to select the endian format (PC, VAX, SGI) for the binary C3D output. | ||
+ | * **Export Start Frame**: Specifies which frame of the motion file to begin exporting. | ||
+ | * **Export End Frame**: Specifies the final frame to export. Default is EOF (End of File). | ||
+ | |||
+ | ===== Examples ===== | ||
+ | |||
+ | The following examples will go through the use of the **Export_C3DFile** command in the Visual3D application. | ||
+ | |||
+ | |||
+ | ==== Example 1: Exporting between Event_Labels ==== | ||
+ | |||
+ | Only a START_FRAME and an END_FRAME are available as parameters for the export command. To export between EVENT_LABELS: | ||
+ | |||
+ | < | ||
+ | Set_Pipeline_Parameter_From_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | Set_Pipeline_Parameter_From_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | |||
+ | Export_C3DFile | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | /SUFFIX= | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | ==== Example 2: Exporting all C3D files from the Workspace ==== | ||
+ | |||
+ | This example will export all C3D files in the Workspace | ||
+ | |||
+ | < | ||
+ | Export_C3DFile | ||
+ | / | ||
+ | !/ | ||
+ | / | ||
+ | /Suffix= | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | Note that the **/ | ||
+ | |||
+ | < | ||
+ | ! This will allow the user to set the folder path for the destination files | ||
+ | Set_Pipeline_Parameter_To_Folder_Path | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | |||
+ | ! Export all C3D files in the Workspace to the Folder path specified by the user | ||
+ | Export_C3DFile | ||
+ | / | ||
+ | !/ | ||
+ | / | ||
+ | /Suffix= | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Exporting Processed Signals ==== | ||
+ | |||
+ | If **/ | ||
+ | |||
+ | If there are no signals in the PROCESSED folder, the exported C3D file will contain no POINT data. | ||
+ | |||
+ | < | ||
+ | ! This will allow the user to set the folder path for the destination files | ||
+ | Set_Pipeline_Parameter_To_Folder_Path | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | |||
+ | ! Export all C3D files in the Workspace to the Folder path specified by the user | ||
+ | ! Visual3D exports only data from the TARGET PROCESSED folder | ||
+ | Export_C3DFile | ||
+ | / | ||
+ | !/ | ||
+ | / | ||
+ | /Suffix= | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | / | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | [[Visual3D: | ||
+ | |||
+ | |||
visual3d/documentation/pipeline/file_commands/export_c3dfile.1719432316.txt.gz · Last modified: 2024/06/26 20:05 by sgranger