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/07/17 15:45] – created sgranger | visual3d:documentation:pipeline:file_commands:export_c3dfile [2025/06/09 21:23] (current) – wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Export C3DFile ====== | ====== Export C3DFile ====== | ||
- | {{: | + | ===== Overview ===== |
- | There are two ways to export | + | The **Export_C3DFile** command is available in the Visual3D as a way to export a C3D file. |
- | + | * The manual option | |
- | The other way is to use the **Export_C3DFile** command. | + | * 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 ===== | ===== 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: | The **Export_C3DFile** command parameter definitions are found below: | ||
- | |**Export_C3DFile** | || | + | |**Parameter**|**Description**| |
- | |**/Old_File_Name=** |The name of a c3d file in the workspace. Wildcards (*) are acceptable | + | |**/OLD_FILE_NAME=**|The name of a c3d file in the workspace. Wildcards (*) are acceptable.| |
- | |**/New_File_Name=** |The names of the files to be exported | + | |**/NEW_FILE_NAME=**|The names of the files to be exported.| |
- | |**/Destination_Folder=** | + | |**/DESTINATION_FOLDER=**|The name of the folder to save the files. If no folder is specified, the user is prompted for the folder.| |
- | |**/Suffix=** | + | |**/SUFFIX=**|The suffix |
- | |**/Export_Endian=** |The endian for the exported file. || | + | |**/ |
- | |**/Truncate_Point_Labels=** |(true or false) exports | + | |**/PROMPT_FOR_NEW_FILE=TRUE**|If ' |
- | |**/Export_Processed_Data=** |(true or false) exports data from the PROCESSED folder instead | + | |**/ |
- | |**/Truncate_Parameter_Section=** |(true or false) truncates | + | |**/TRUNCATE_POINT_LABELS=FALSE**|Exports |
- | |**/USE_ORIGINAL_START_FRAME**= |Visual3D always refers | + | |**/USE_ORIGINAL_START_FRAME=FALSE**|If ' |
- | |**/EXPORT_START_FRAME**= 1 |The first frame of data to export | + | |**/EXPORT_START_FRAME=1**|Frame to start the export from.| |
- | |**/EXPORT_END_FRAME**= EOF |The last frame of data to export | + | |**/EXPORT_END_FRAME=EOF**|Frame to end the export on (' |
- | |**/Export_All_Landmarks=** | + | |**/EXPORT_PROCESSED_TARGET_DATA=FALSE**|If ' |
- | |**/Export_Digitizing_Landmarks=**|(true or false) Export | + | |**/EXPORT_PROCESSED_ANALOG_DATA=FALSE**|If ' |
- | |**/Export_Functional_Landmarks=**|(true or false) Export | + | |**/TRUNCATE_PARAMETER_SECTION=FALSE**|If ' |
- | |**/Export_Empty_Targets=** | + | |**/EXPORT_ALL_LANDMARKS=FALSE**|(TRUE or FALSE) Export Landmarks as Targets.| |
- | |**/Export_Old_Event_Labels=** |(true or false) Export Event Labels in the Header Section. || | + | |**/EXPORT_DIGITIZING_LANDMARKS=FALSE**|(TRUE or FALSE) Export |
- | |**/Event_Labels=** | + | |**/EXPORT_EMPTY_TARGETS=FALSE**|If ' |
+ | |**/EVENT_LABELS=**|Specify which event labels to export.| | ||
+ | |**/EXPORT_OLD_EVENT_LABELS=FALSE**|If ' | ||
- | ===== Example: Exporting between Event_Labels | + | ===== 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 | ||
Only a START_FRAME and an END_FRAME are available as parameters for the export command. To export 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 | ||
/ | / | ||
/ | / | ||
/ | / | ||
- | **;** | + | ; |
- | \\ | + | Set_Pipeline_Parameter_From_Expression |
- | + | ||
- | + | ||
- | **Set_Pipeline_Parameter_From_Expression** | + | |
/ | / | ||
/ | / | ||
/ | / | ||
- | **;** | + | ; |
- | **Export_C3DFile** | + | |
+ | Export_C3DFile | ||
/ | / | ||
/ | / | ||
Line 66: | Line 128: | ||
! / | ! / | ||
! / | ! / | ||
- | **;** | + | ; |
- | ===== Example: Exporting all C3D files from the Workspace | + | </ |
+ | ==== Example | ||
This example will export all C3D files in the Workspace | This example will export all C3D files in the Workspace | ||
Line 118: | Line 181: | ||
</ | </ | ||
- | ===== Exporting Processed Signals | + | ==== Exporting Processed Signals ==== |
If **/ | If **/ | ||
Line 152: | Line 215: | ||
</ | </ | ||
- | \\ | + | ---- |
[[Visual3D: | [[Visual3D: | ||
visual3d/documentation/pipeline/file_commands/export_c3dfile.1721231146.txt.gz · Last modified: 2024/07/17 15:45 by sgranger