visual3d:documentation:pipeline:model_commands:modeling_commands
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:pipeline:model_commands:modeling_commands [2024/06/19 12:52] – sgranger | visual3d:documentation:pipeline:model_commands:modeling_commands [2024/07/17 15:46] (current) – created sgranger | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | this page lists several pipeline commands related to modeling. in addition, two examples are presented. | + | ====== Modeling Commands ====== |
- | ===== commands | + | This page lists several pipeline |
- | the commands related to modeling are listed here along with a description of their parameters. the list is not all inclusive. | + | ==== Commands ==== |
- | ==== add_landmark ==== | + | The commands related to modeling are listed here along with a description of their parameters. The list is not all inclusive. |
- | landmarks (virtual markers) are typically added to the model template, but all model commands are also available as pipeline commands. | + | === Add_Landmark === |
- | ==== add_functional_joint_landmark ==== | + | Landmarks (Virtual Markers) are typically added to the model template, but all model commands are also available as pipeline commands. |
- | this command is based on: **schwartz mh, rozumalski a** (2005) a new method for estimating joint parameters from motion data. journal of biomechanics, | + | === Add_Functional_Joint_Landmark === |
- | |**add_functional_joint_landmark** | + | This command is based on: **Schwartz MH, Rozumalski A** (2005) A new method |
- | |**/ | + | |
- | |**/ | + | |
- | |**/ | + | |
- | |**/ | + | |
- | |**/ | + | |
- | |**/ | + | |
- | |**/ | + | |
- | |**/ | + | |
- | |**/ | + | |
- | |**/ | + | |
- | |**/ | + | |
- | |**/ | + | |
- | |**/ | + | |
- | |**/ | + | |
- | |**/ | + | |
- | |**/ | + | |
- | |**/ | + | |
- | this command was changed for visual3d version 3.83 to allow the specification | + | |**Add_Functional_Joint_Landmark** |
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**/ | ||
- | * if a reference segment is specified, the landmark will be created relative to that segment. | + | This command was changed for Visual3D Version 3.83 to allow the specification of **REFERENCE MARKERS** instead of **REFERENCE SEGMENT**. |
- | * if no reference segment is specified, the landmark will be created relative | + | |
- | ==== create_v3d_model ==== | + | * If a Reference Segment is specified, the landmark will be created relative to that segment. |
+ | * If no Reference Segment is specified, the landmark will be created relative to the first three REFERENCE MARKERS (e.g. a Technical Coordinate System will be created from these markers). If more than 3 REFERENCE MARKERS are specified, Visual3D will use all REFERENCE MARKERS to track the Technical Coordinate System. | ||
- | create | + | === Create_V3D_Model === |
+ | |||
+ | Create | ||
< | < | ||
- | create_v3d_model | + | Create_V3D_Model |
- | ! /calibration_file= the name of the c3d file for the static trial | + | ! /CALIBRATION_FILE= the name of the c3d file for the static trial |
; | ; | ||
</ | </ | ||
- | **note: wildcards | + | **Note: Wildcards |
- | ==== build_model ==== | + | === Build_Model |
- | in some circumstances | + | In some circumstances |
< | < | ||
- | build_model | + | Build_Model |
- | ! /calibration_file= | + | ! /CALIBRATION_FILE= |
- | ! /rebuild_all_models= true or false to rebuild all models | + | ! /REBUILD_ALL_MODELS= TRUE or FALSE to rebuild all models |
- | ! /display_results= | + | ! /DISPLAY_RESULTS= |
; | ; | ||
</ | </ | ||
- | ==== apply_model_template ==== | + | === Apply_Model_Template |
- | apply a model template | + | Apply a Model Template |
< | < | ||
- | apply_model_template | + | Apply_Model_Template |
- | /model_template= | + | /MODEL_TEMPLATE= |
- | /calibration_file= | + | /CALIBRATION_FILE= |
; | ; | ||
</ | </ | ||
- | **note:** wildcards | + | **NOTE:** Wildcards |
- | **note:** in early versions of visual3d, this command was called **open_model_file**. even though this name no longer appears in the pipeline dialog, if it appears in the pipeline script, it will still be recognized and processed correctly by visual3d. | + | **NOTE:** In early versions of Visual3D, this command was called **OPEN_MODEL_FILE**. Even though this name no longer appears in the pipeline dialog, if it appears in the Pipeline Script, it will still be recognized and processed correctly by Visual3D. |
- | ==== save_model_template ==== | + | === Save_Model_Template |
- | this command saves the specified link model to a template. | + | This command saves the specified link model to a template. |
< | < | ||
- | save_model_template | + | Save_Model_Template |
- | /calibration_file= | + | /CALIBRATION_FILE= |
- | /model_template= the name of the model template | + | /MODEL_TEMPLATE= The name of the model template |
; | ; | ||
</ | </ | ||
- | **note:** you can use a wildcard for the calibration_file but you must specify the full model template name. | + | **NOTE:** You can use a wildcard for the calibration_file but you must specify the full model template name. |
- | an example, | + | An example, |
< | < | ||
- | save_model_template | + | Save_Model_Template |
- | /calibration_file=*1.c3d | + | /CALIBRATION_FILE=*1.c3d |
- | /model_template=c:\visual3d\data\template.mdh | + | /MODEL_TEMPLATE=C:\Visual3D\Data\template.mdh |
; | ; | ||
</ | </ | ||
- | ==== close_calibration_file ==== | + | === Close_Calibration_File |
- | close an open model and calibration file. | + | Close an open model and calibration file. |
< | < | ||
- | close_calibration_file | + | Close_Calibration_File |
- | /calibration_file= the name of the standing trial associated with the model | + | /Calibration_File= The name of the standing trial associated with the model |
; | ; | ||
</ | </ | ||
- | ==== set_segment_properties ==== | + | === Set_Segment_Properties |
- | sets the inertial properties of a segment. | + | Sets the inertial properties of a segment. |
- | /mass=0.12*mass | + | /MASS=0.12*Mass |
- | where mass is a subject property that has already been defined. | + | where Mass is a subject property that has already been defined. |
< | < | ||
- | set_segment_properties | + | Set_Segment_Properties |
- | /calibration_file= | + | /CALIBRATION_FILE= |
- | /segment_name= | + | /SEGMENT_NAME= |
- | ! /kinematic_only= | + | ! /KINEMATIC_ONLY= |
- | ! /mass= | + | ! /MASS= |
- | ! /cg_from_prox_axial= | + | ! /CG_FROM_PROX_AXIAL= |
- | ! /cg_from_prox_ml= | + | ! /CG_FROM_PROX_ML= |
- | ! /cg_from_prox_ap= | + | ! /CG_FROM_PROX_AP= |
- | ! /inertia_xx= | + | ! /INERTIA_XX= |
- | ! /inertia_yy= | + | ! /INERTIA_YY= |
- | ! /inertia_zz= | + | ! /INERTIA_ZZ= |
- | ! /ap_direction= | + | ! /AP_DIRECTION= |
- | ! /axial_direction= | + | ! /AXIAL_DIRECTION= |
- | ! /model_file= | + | ! /MODEL_FILE= |
- | ! /material_file= | + | ! /MATERIAL_FILE= |
; | ; | ||
</ | </ | ||
- | ==== set_subject_weight ==== | + | === Set_Subject_Weight |
- | set the weight of the subject (kgs). | + | Set the weight of the subject (kgs). |
< | < | ||
- | set_subject_weight | + | Set_Subject_Weight |
- | /calibration_file= the name of the link model (standing trial) | + | /Calibration_File= The name of the link model (standing trial) |
- | /weight= weight | + | /Weight= Weight |
; | ; | ||
</ | </ | ||
- | **note:** if the model is a hybrid model, the weight | + | **NOTE:** If the model is a hybrid model, the Weight |
- | for example, the user enters the weight | + | For example, the user enters the Weight |
< | < | ||
- | prompt_for_pipeline_parameter_value | + | Prompt_For_Pipeline_Parameter_Value |
- | /pipeline_parameter_name= weight | + | /PIPELINE_PARAMETER_NAME= WEIGHT |
- | /prompt= enter the weight | + | /PROMPT= Enter the Weight |
- | /data_type=string | + | /DATA_TYPE=STRING |
- | /default_value=1 | + | /DEFAULT_VALUE=1 |
; | ; | ||
- | set_subject_weight | + | Set_Subject_Weight |
- | /calibration_file= | + | /Calibration_File= |
- | /weight= ::weight/2.2 | + | /Weight= ::WEIGHT/2.2 |
; | ; | ||
</ | </ | ||
- | ==== set_subject_height ==== | + | === Set_Subject_Height |
- | set the height of the subject (m). if no link_model | + | Set the height of the subject (m). If no LINK_MODEL |
< | < | ||
- | set_subject_height | + | Set_Subject_Height |
- | /calibration_file= the name of the link model (standing trial) | + | /Calibration_File= The name of the link model (standing trial) |
- | /height= height | + | /Height= Height |
; | ; | ||
</ | </ | ||
- | **note:** if the model is a hybrid model, the height | + | **NOTE:** If the model is a hybrid model, the Height |
- | for example, the user enters the height | + | For example, the user enters the Height |
< | < | ||
- | prompt_for_pipeline_parameter_value | + | Prompt_For_Pipeline_Parameter_Value |
- | /pipeline_parameter_name= height | + | /PIPELINE_PARAMETER_NAME= HEIGHT |
- | /prompt= enter the height | + | /PROMPT= Enter the Height |
- | /data_type=string | + | /DATA_TYPE=STRING |
- | /default_value=60 | + | /DEFAULT_VALUE=60 |
; | ; | ||
- | set_subject_height | + | Set_Subject_Height |
- | /calibration_file= | + | /Calibration_File= |
- | /height= ::height/39.4 | + | /Height= ::HEIGHT/39.4 |
; | ; | ||
</ | </ | ||
- | ==== set_model_metric ==== | + | === Set_Model_Metric |
- | this command was originally part of the model template in visual3d. in version 4.0 this command will be expanded for general use. this is a convenient way for the user to interact with the model by entering values in a popup dialog rather than by editing the model in model builder mode. this command is a good way to add in a metric that is used in your model. | + | This command was originally part of the model template in Visual3D. In version 4.0 this command will be expanded for general use. This is a convenient way for the user to interact with the model by entering values in a popup dialog rather than by editing the model in model builder mode. This command is a good way to add in a metric that is used in your model. |
- | the following example will set the proximal radius for the right thigh segment to 0.1 | + | The following example will set the proximal radius for the right thigh segment to 0.1 |
< | < | ||
- | set_model_metric | + | Set_Model_Metric |
- | ! /calibration_file= | + | ! /CALIBRATION_FILE= |
- | /metric_name=rth_distal_radius | + | /METRIC_NAME=RTH_Distal_Radius |
- | /metric_value=0.1 | + | /METRIC_VALUE=0.1 |
; | ; | ||
</ | </ | ||
- | ===== examples ===== | + | ==== Examples |
- | here are two examples utilizing pipeline modeling commands. | + | Here are two examples utilizing pipeline modeling commands. |
- | ==== pipeline example | + | === Pipeline Example |
< | < | ||
!*********************************************** | !*********************************************** | ||
- | ! create hybrid | + | ! Create Hybrid |
!*********************************************** | !*********************************************** | ||
- | set_pipeline_parameter_to_folder_path | + | Set_Pipeline_Parameter_To_Folder_Path |
- | /parameter_name=folder | + | /PARAMETER_NAME=FOLDER |
- | /parameter_value=c:\visual3d\data\ | + | /PARAMETER_VALUE=c:\Visual3D\Data\ |
; | ; | ||
- | set_pipeline_parameter | + | Set_Pipeline_Parameter |
- | /parameter_name=standing | + | /PARAMETER_NAME=STANDING |
- | /parameter_value=::folder& | + | /PARAMETER_VALUE=::FOLDER& |
; | ; | ||
- | create_hybrid_model | + | Create_Hybrid_Model |
- | /calibration_file=::standing | + | /CALIBRATION_FILE=::STANDING |
; | ; | ||
</ | </ | ||
- | ==== pipeline example | + | === Pipeline Example |
< | < | ||
!*********************************************** | !*********************************************** | ||
- | ! assign | + | ! Assign |
!*********************************************** | !*********************************************** | ||
- | set_pipeline_parameter_to_folder_path | + | Set_Pipeline_Parameter_To_Folder_Path |
- | /parameter_name=folder | + | /PARAMETER_NAME=FOLDER |
- | /parameter_value=c:\visual3d\data\ | + | /PARAMETER_VALUE=c:\Visual3D\Data\ |
; | ; | ||
- | set_pipeline_parameter | + | Set_Pipeline_Parameter |
- | /parameter_name=standing | + | /PARAMETER_NAME=STANDING |
- | /parameter_value=::folder& | + | /PARAMETER_VALUE=::FOLDER& |
; | ; | ||
- | create_hybrid_model | + | Create_Hybrid_Model |
- | /calibration_file=::standing | + | /CALIBRATION_FILE=::STANDING |
; | ; | ||
- | set_pipeline_parameter | + | Set_Pipeline_Parameter |
- | /parameter_name=walking | + | /PARAMETER_NAME=WALKING |
- | /parameter_value=::folder& | + | /PARAMETER_VALUE=::FOLDER& |
; | ; | ||
- | ! prompt | + | ! Prompt |
- | ! multiple | + | ! Multiple |
- | open_file | + | Open_File |
- | ! /file_name= | + | ! /FILE_NAME= |
; | ; | ||
- | assign_model_file | + | Assign_Model_File |
- | /calibration_file=::standing | + | /CALIBRATION_FILE=::STANDING |
- | /motion_file_names=::walking | + | /MOTION_FILE_NAMES=::WALKING |
; | ; | ||
</ | </ |
visual3d/documentation/pipeline/model_commands/modeling_commands.1718801525.txt.gz · Last modified: 2024/06/19 12:52 by sgranger