visual3d:documentation:pipeline:file_commands:export_3d_animation_to_image
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
visual3d:documentation:pipeline:file_commands:export_3d_animation_to_image [2024/07/17 15:45] – created sgranger | visual3d:documentation:pipeline:file_commands:export_3d_animation_to_image [2025/06/03 15:49] (current) – wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Export 3D Animation To Image ====== | ====== Export 3D Animation To Image ====== | ||
- | Export a snapshot of the 3D viewer and save the file to disk. | + | ===== Overview ===== |
+ | The **Export_3D_Animation_To_Image** command is used to capture and export static images from the 3D viewer | ||
+ | * Command supports exporting one or more frames to multiple image formats for documentation | ||
+ | * Multiple files in the workspace can be selected, and images can be exported for single or multiple frames within specific event sequences. | ||
- | * multiple files in the workspace can be selected | + | ===== Pipeline Command ===== |
- | * multiple frames of data can be exported to individual files | + | |
- | **Note: if there are multiple output files (either because of multiple files or multiple frames), the name of the file is used as a prefix | + | The command below is as seen on the Visual3D application, |
- | ==== Contents ==== | + | |
+ | < | ||
+ | Export_3D_Animation_To_Image | ||
+ | ! /FILE_NAME= | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! /END_FRAME= | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | ===== Command Parameters ===== | ||
- | * [[# | + | The following table shows the command parameters and descriptions: |
- | * [[# | + | |
- | * [[# | + | |
- | * [[# | + | |
+ | |**Parameter**|**Description**| | ||
+ | |**! / | ||
+ | |**! / | ||
+ | |**! / | ||
+ | |**! / | ||
+ | |**! / | ||
+ | |**! / | ||
+ | |**! / | ||
+ | |**! / | ||
+ | |**! / | ||
+ | |**! / | ||
+ | |**! / | ||
- | ==== Pipeline Command ==== | ||
- | **Export_3D_Animation_To_Image** | + | ===== Dialog |
- | /FILE_NAME= | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | /END_FRAME= | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | **;** | + | |
- | === Exporting one image === | + | |
- | In the following example: | + | The command can be edited in a text editor or opened as a dialog. The dialog allows user to select export parameters using visual options. |
- | * One Image is exported from the first file that matches the wildcard specificat | + | {{: |
- | * Frame 10 is exported | + | |
- | * The output file is specified using the IMAGE_FILE_NAME parameter | + | |
- | \\ | + | * **Motion File**: Drop-down to select the motion file currently loaded in the workspace. |
+ | * **Export File as Filename plus Frame Number**: Appends frame number to image name (e.g., ' | ||
+ | * **Exported Image File**: Specify the base name or folder where the image(s) will be saved. | ||
+ | * **Output Width/ | ||
+ | * **Start Frame/End Frame**: Set the frame range to export. Leave 'End Frame' blank to export just one. | ||
+ | * **Event Sequence & Exclusion**: | ||
+ | ===== Examples ===== | ||
- | **Export_3D_Animation_To_Image** | + | The following examples will go through the use of the Export_3D_Animation_To_Image command in the Visual3D. |
+ | |||
+ | ==== Example 1: Exporting a single image ==== | ||
+ | |||
+ | This example exports one snapshot from a trial matching '*2.c3d', | ||
+ | |||
+ | < | ||
+ | Export_3D_Animation_To_Image | ||
/ | / | ||
/ | / | ||
/ | / | ||
- | ! / | + | / |
+ | / | ||
/ | / | ||
/END_FRAME= | /END_FRAME= | ||
- | / | + | ! / |
- | /EXCLUDE_EVENTS= | + | ! /EVENT_EVENTS= |
- | ! / | + | / |
- | ! / | + | / |
- | **;** | + | ; |
- | {{: | + | </ |
- | {{: | + | |
- | === Exporting multiple images === | + | |
- | In the following example: | + | ==== Example 2: Exporting multiple images from gait phase ==== |
- | * Images are exported | + | This example exports frame 1 and 2 from all trials (*.c3d) |
- | * Frames 1 and 2 are exported | + | |
- | * All frames within the Event_Sequence (LHS-LTO) are exported | + | |
- | * The target folder for the files is specified using the IMAGE_FILE_NAME parameter | + | |
- | * The exported file contains the name of the original file appended with the frame number | + | |
- | \\ | + | Each output file will include both the C3D name and the frame number. |
- | + | < | |
- | **Export_3D_Animation_To_Image** | + | Export_3D_Animation_To_Image |
/ | / | ||
/ | / | ||
/ | / | ||
+ | / | ||
+ | / | ||
/ | / | ||
/ | / | ||
/ | / | ||
- | / | + | ! / |
/ | / | ||
/ | / | ||
- | **;** | + | ; |
- | {{: | + | </ |
+ | |||
+ | This example helps automate capturing consistent gait-phase images across multiple subjects. | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Notes ===== | ||
==== Version 4 Implementation ==== | ==== Version 4 Implementation ==== | ||
Export a snapshot of the 3D viewer and save the file to disk. | Export a snapshot of the 3D viewer and save the file to disk. | ||
- | in Version 4: | + | In Version 4: |
* only one file in the workspace can be selected | * only one file in the workspace can be selected | ||
* only one frame of data can be exported | * only one frame of data can be exported | ||
* only one exported filename can be specified. | * only one exported filename can be specified. | ||
- | **Export_3D_Animation_To_Image** | + | < |
+ | Export_3D_Animation_To_Image | ||
! /FILE_NAME= | ! /FILE_NAME= | ||
! / | ! / | ||
Line 96: | Line 126: | ||
! / | ! / | ||
! / | ! / | ||
- | **;** | + | ; |
- | This is consistent with the export option under the [[[https:// | + | </ |
+ | |||
+ | This is consistent with the export option under the [[[https:// | ||
+ | |||
+ | |||
+ | ---- | ||
- | \\ | ||
[[Visual3D: | [[Visual3D: | ||
visual3d/documentation/pipeline/file_commands/export_3d_animation_to_image.txt · Last modified: 2025/06/03 15:49 by wikisysop