visual3d:documentation:pipeline:model_commands:apply_model_template
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:apply_model_template [2024/06/19 12:51] – sgranger | visual3d:documentation:pipeline:model_commands:apply_model_template [2024/07/17 15:46] (current) – created sgranger | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | apply a model template to a model (calibration file). | + | ====== Apply Model Template ====== |
- | wildcards | + | Apply a Model Template to a Model (Calibration File). |
- | **apply_model_template** | + | Wildcards (*) can be used for FILE_NAME and MODEL_NAME. |
- | /calibration_file= | + | |
- | /subject_prefix= | + | **Apply_Model_Template** |
- | /model_template= | + | /CALIBRATION_FILE= |
- | /set_prompt=apply model template | + | /SUBJECT_PREFIX= |
- | /missing_target_message=false | + | /MODEL_TEMPLATE= |
+ | /SET_PROMPT=Apply Model Template | ||
+ | /MISSING_TARGET_MESSAGE=FALSE | ||
**;** | **;** | ||
- | **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. |
- | an example of a script is found below: | + | An example of a script is found below: |
< | < | ||
!********************************************** | !********************************************** | ||
- | ! apply model template | + | ! Apply Model Template |
!********************************************** | !********************************************** | ||
- | ! new workspace | + | ! New Workspace |
- | file_new | + | File_New |
; | ; | ||
- | ! set a path for the location of the data | + | ! Set a path for the location of the data |
- | set_pipeline_parameter | + | Set_Pipeline_Parameter |
- | /parameter_name=folder | + | /PARAMETER_NAME=FOLDER |
- | /parameter_value=c:\demo files\ | + | /PARAMETER_VALUE=c:\demo files\ |
; | ; | ||
- | ! set the parameter for the static file | + | ! Set the parameter for the static file |
- | set_pipeline_parameter | + | Set_Pipeline_Parameter |
- | /parameter_name=static | + | /PARAMETER_NAME=STATIC |
- | /parameter_value=::folder& | + | /PARAMETER_VALUE=::FOLDER& |
; | ; | ||
- | ! apply the model template using the static trial. | + | ! Apply the model template using the static trial. |
! blank will bring up a dialog that allows the user to browse and select the model template | ! blank will bring up a dialog that allows the user to browse and select the model template | ||
- | apply_model_template | + | Apply_Model_Template |
- | /model_template= | + | /MODEL_TEMPLATE= |
- | /calibration_file=::static | + | /CALIBRATION_FILE=::STATIC |
; | ; | ||
- | ! set weight | + | ! Set Weight |
- | set_subject_weight | + | Set_Subject_Weight |
- | /calibration_file=::static | + | /CALIBRATION_FILE=::STATIC |
- | /weight=1.0 | + | /WEIGHT=1.0 |
; | ; | ||
- | ! set height | + | ! Set Height |
- | set_subject_height | + | Set_Subject_Height |
- | /calibration_file=::static | + | /CALIBRATION_FILE=::STATIC |
- | /height=1 | + | /HEIGHT=1 |
; | ; | ||
- | ! open the movement file | + | ! Open the movement file |
- | open_file | + | Open_File |
- | /file_name=::folder& | + | /FILE_NAME=::FOLDER& |
; | ; | ||
- | ! assign | + | ! Assign |
- | assign_model_file | + | Assign_Model_File |
- | /calibration_file=::static | + | /CALIBRATION_FILE=::STATIC |
- | /motion_file_names=::folder& | + | /MOTION_FILE_NAMES=::FOLDER& |
; | ; | ||
</ | </ |
visual3d/documentation/pipeline/model_commands/apply_model_template.1718801519.txt.gz · Last modified: 2024/06/19 12:51 by sgranger