User Tools

Site Tools


visual3d:documentation:pipeline:file_commands:export_polygon_c3dfile

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
visual3d:documentation:pipeline:file_commands:export_polygon_c3dfile [2024/06/14 17:26] – created sgrangervisual3d:documentation:pipeline:file_commands:export_polygon_c3dfile [2024/12/27 13:38] (current) wikisysop
Line 1: Line 1:
-|===== Contents =====\\ \\ \\ \\ * [[#Command_Syntax|1 Command Syntax]]\\   * [[#Polygon_Segment_Array|1.1 Polygon_Segment_Array]]\\   * [[#V3D_Segment_Array|1.2 V3D_Segment_Array]]\\     * [[#Default_Segment_Arrays|1.2.1 Default Segment Arrays]]\\ * [[#Edit_Dialog|2 Edit Dialog]]\\ * [[#Segment_Scaling|3 Segment Scaling]]\\ * [[#Trunk_Segment|4 Trunk Segment]]\\   * [[#Explanation|4.1 Explanation]]\\   * [[#Trunk_Modifications|4.2 Trunk Modifications]]|+====== Export Polygon C3DFile ======
  
 Export a file from the Workspace to a C3D file suitable for Vicon's Polygon program. Sample files can be found on the [[Visual3D:Documentation:Pipeline:File_Commands:Export_Polygon_Trunk_Example|Polygon Example Export page]]. Export a file from the Workspace to a C3D file suitable for Vicon's Polygon program. Sample files can be found on the [[Visual3D:Documentation:Pipeline:File_Commands:Export_Polygon_Trunk_Example|Polygon Example Export page]].
Line 5: Line 5:
 **NOTE:** This is an area in which HAS-Motion and Vicon agree to disagree. A few Visual3D customers have requested that we export C3D files containing information pertinent to Polygon. If it weren't for these requests, we would not have done so because we do not approve of putting PROCESSED data into the C3D file. Polygon requires additional information than that contained in a typical C3D file. Visual3D exports LINK_MODEL_BASED signals, and context dependent EVENT LABELS to POLYGON allowing Kinematic and Kinetic data to be reported in POLYGON. Animating objects in POLYGON requires additional data and an additional file to be created by Visual3D. Visual3D, therefore, creates additional landmarks for defining the position and orientation of a segment, and an MKR file defining which wireframe objects are associated with the segments. **NOTE:** This is an area in which HAS-Motion and Vicon agree to disagree. A few Visual3D customers have requested that we export C3D files containing information pertinent to Polygon. If it weren't for these requests, we would not have done so because we do not approve of putting PROCESSED data into the C3D file. Polygon requires additional information than that contained in a typical C3D file. Visual3D exports LINK_MODEL_BASED signals, and context dependent EVENT LABELS to POLYGON allowing Kinematic and Kinetic data to be reported in POLYGON. Animating objects in POLYGON requires additional data and an additional file to be created by Visual3D. Visual3D, therefore, creates additional landmarks for defining the position and orientation of a segment, and an MKR file defining which wireframe objects are associated with the segments.
  
-===== Command Syntax =====+==== Command Syntax ====
  
-**Export_Polygon_C3DFile**\\ +<code> 
- +Export_Polygon_C3DFile 
-**! /OLD_FILE_NAME=** Exports ALL_FILES, TAGS, or Wildcards (*)\\ +! /OLD_FILE_NAME=** Exports ALL_FILES, TAGS, or Wildcards (*)\\ 
- +! /NEW_FILE_NAME=** If NEW_FILE_NAME is empty, SUFFIX is added\\ 
-**! /NEW_FILE_NAME=** If NEW_FILE_NAME is empty, SUFFIX is added\\ +! /DESTINATION_FOLDER=** If DESTINATION_FOLDER is empty, the user is prompted for a folder\\ 
- +! /[[#Polygon_Segment_Array|Polygon_Segment_Array]]=**\\ 
-**! /DESTINATION_FOLDER=** If DESTINATION_FOLDER is empty, the user is prompted for a folder\\ +! /V3D_SEGMENT_ARRAY=**\\ 
- +! /SEGMENT_DESCRIPTION=**\\ 
-**! /[[#Polygon_Segment_Array|Polygon_Segment_Array]]=**\\ +! /POLYGON_EVENT_CONTEXT=**\\ 
- +! /POLYGON_EVENT_ICON=**\\ 
-**! /V3D_SEGMENT_ARRAY=**\\ +! /POLYGON_EVENT_NAME=**\\ 
- +! /POLYGON_EVENT_SUBJECT=**\\ 
-**! /SEGMENT_DESCRIPTION=**\\ +! /V3D_EVENT_NAME=**\\ 
- +! /EVENT_DESCRIPTIONS=**\\ 
-**! /POLYGON_EVENT_CONTEXT=**\\ +! /POLYGON_SIGNAL_ITEMS_ARRAY=**\\ 
- +! /V3D_SIGNAL_TYPES_ARRAY=**\\ 
-**! /POLYGON_EVENT_ICON=**\\ +! /V3D_SIGNAL_FOLDERS_ARRAY=**\\ 
- +! /V3D_SIGNAL_NAMES_ARRAY=**\\ 
-**! /POLYGON_EVENT_NAME=**\\ +! /SUFFIX=_** If a new filename is not specified, Visual3D will add the **suffix** to the old filename.\\ 
- +! /[[#Endian_Parameter|Export_Endian]]=2**\\ 
-**! /POLYGON_EVENT_SUBJECT=**\\ +! /REPLACE_POLY_TARGETS=FALSE**\\ 
- +; 
-**! /V3D_EVENT_NAME=**\\ +</code>
- +
-**! /EVENT_DESCRIPTIONS=**\\ +
- +
-**! /POLYGON_SIGNAL_ITEMS_ARRAY=**\\ +
- +
-**! /V3D_SIGNAL_TYPES_ARRAY=**\\ +
- +
-**! /V3D_SIGNAL_FOLDERS_ARRAY=**\\ +
- +
-**! /V3D_SIGNAL_NAMES_ARRAY=**\\ +
- +
-**! /SUFFIX=_** If a new filename is not specified, Visual3D will add the **suffix** to the old filename.\\ +
- +
-**! /[[#Endian_Parameter|Export_Endian]]=2**\\ +
- +
-**! /REPLACE_POLY_TARGETS=FALSE**\\ +
- +
-**;**\\+
  
 **NOTE:** Visual3D NEVER recommends over writing original data files. For this reason the NEW_FILE_NAME parameter should be different from the original file name, or the SUFFIX parameter should be used. **NOTE:** Visual3D NEVER recommends over writing original data files. For this reason the NEW_FILE_NAME parameter should be different from the original file name, or the SUFFIX parameter should be used.
  
-==== Polygon_Segment_Array ====+=== Polygon_Segment_Array ===
  
 This is linked tightly with [[#V3D_Segment_Array|V3D_Segment_Array]] This is linked tightly with [[#V3D_Segment_Array|V3D_Segment_Array]]
Line 61: Line 43:
 Note that Polygon doesn't do any substantial processing, so this means that the model based definitions in Visual3D might not be consistent with a signal of the same name computed by Plugin Gait. Note that Polygon doesn't do any substantial processing, so this means that the model based definitions in Visual3D might not be consistent with a signal of the same name computed by Plugin Gait.
  
-==== V3D_Segment_Array ====+=== V3D_Segment_Array ===
  
-=== Default Segment Arrays ===+== Default Segment Arrays ==
  
 |Polygon Segment|Visual3D Segment|[[Visual3D:Documentation:Modeling:Segments:Segment_Default_Names|Visual3D 3 letter acronym]]| |Polygon Segment|Visual3D Segment|[[Visual3D:Documentation:Modeling:Segments:Segment_Default_Names|Visual3D 3 letter acronym]]|
Line 82: Line 64:
 |TRX            |Thorax          |RTA                                                                                         | |TRX            |Thorax          |RTA                                                                                         |
  
-===== Edit Dialog =====+==== Edit Dialog ====
  
-|[[File:ExportPolygonDlg.jpg|{{/images/thumb/3/3e/ExportPolygonDlg.jpg/500px-ExportPolygonDlg.jpg?500x462}}]]  |**Map Visual3D Segments to Polygon Segments**\\ The default Polygon segment names are listed in the drop down menu and should correspond to the correct Visual3D segment names. The default list of Visual3D segment names is listed [[#Default_Segment_Arrays|here]]. The description is a label for the user to identify the segment names.\\ \\ **Map Visual3D Events to Polygon Events**\\ The events used to identify heel strike and toe off in Visual3D should correspond to the default Polygon labels. The default labels in Visual3D are ON/OFF.\\ \\ **Map Visual3D Items to Polygon Items**\\ The Polygon item list should correspond to the name of the relevant signal. For example, the RAnkleAngle will correspond to the ankle angle created in the Compute Model Based dialog. In this case, the Visual3D Type will be "Link_Model_Based", the Visual3D Folders will be "Original" and the Visual3D signals parameter is the signal name (which is user defined).\\   |+|{{:ExportPolygonDlg.jpg}}  |**Map Visual3D Segments to Polygon Segments**\\ The default Polygon segment names are listed in the drop down menu and should correspond to the correct Visual3D segment names. The default list of Visual3D segment names is listed [[#Default_Segment_Arrays|here]]. The description is a label for the user to identify the segment names.\\ \\ **Map Visual3D Events to Polygon Events**\\ The events used to identify heel strike and toe off in Visual3D should correspond to the default Polygon labels. The default labels in Visual3D are ON/OFF.\\ \\ **Map Visual3D Items to Polygon Items**\\ The Polygon item list should correspond to the name of the relevant signal. For example, the RAnkleAngle will correspond to the ankle angle created in the Compute Model Based dialog. In this case, the Visual3D Type will be "Link_Model_Based", the Visual3D Folders will be "Original" and the Visual3D signals parameter is the signal name (which is user defined).\\   |
  
-===== Segment Scaling =====+==== Segment Scaling ====
  
 In Polygon the segment graphic is scaled based on the length of the segment. The length of the segment in Visual3D is determined by the distance between the proximal and distal ends of the segment. In Polygon the segment graphic is scaled based on the length of the segment. The length of the segment in Visual3D is determined by the distance between the proximal and distal ends of the segment.
  
-===== Trunk Segment =====+==== Trunk Segment ====
  
 Polygon defines the trunk differently from the other segments. If you export from Visual3D into Polygon, and the trunk appears upside down, backwards and scaled larger than expected, the following steps can be used to modify the trunk orientation and scale. Polygon defines the trunk differently from the other segments. If you export from Visual3D into Polygon, and the trunk appears upside down, backwards and scaled larger than expected, the following steps can be used to modify the trunk orientation and scale.
  
-==== Explanation ====+=== Explanation ===
  
 **Upside Down Trunk** **Upside Down Trunk**
Line 108: Line 90:
 In Visual3D user's are free to define segments using their own convention, however, many users define the ends of the trunk from the shoulders to the waist. Polygon defines the ends of the trunk from the shoulders to the abdomen (bottom of the ribs). The Polygon convention will need to be followed when exporting to Polygon. In Visual3D user's are free to define segments using their own convention, however, many users define the ends of the trunk from the shoulders to the waist. Polygon defines the ends of the trunk from the shoulders to the abdomen (bottom of the ribs). The Polygon convention will need to be followed when exporting to Polygon.
  
-==== Trunk Modifications ====+=== Trunk Modifications ===
  
 To define a trunk segment which follows the normal convention and will appear correctly in the Polygon skeleton viewer you will need to: To define a trunk segment which follows the normal convention and will appear correctly in the Polygon skeleton viewer you will need to:
Line 125: Line 107:
 [[Visual3D:Documentation:Pipeline:General_Information:Pipeline_Commands_Reference|Back to Pipeline Commands Reference]] [[Visual3D:Documentation:Pipeline:General_Information:Pipeline_Commands_Reference|Back to Pipeline Commands Reference]]
  
- 
-Retrieved from "" 
  
  
visual3d/documentation/pipeline/file_commands/export_polygon_c3dfile.1718385976.txt.gz · Last modified: 2024/06/14 17:26 by sgranger