User Tools

Site Tools


visual3d:documentation:pipeline:model_commands:apply_model_template

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
visual3d:documentation:pipeline:model_commands:apply_model_template [2024/06/19 12:51] sgrangervisual3d: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 (*can be used for file_name and model_name.+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:
  
 <code> <code>
 !********************************************** !**********************************************
-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&static.c3d+/PARAMETER_VALUE=::FOLDER&static.c3d
 ; ;
  
-apply the model template using the static trial. leaving the model_template parameter+Apply the model template using the static trial. Leaving the MODEL_TEMPLATE parameter
 ! 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&movement.c3d+/FILE_NAME=::FOLDER&movement.c3d
 ; ;
  
-assign the model file to the movement file +Assign the model file to the movement file 
-assign_model_file +Assign_Model_File 
-/calibration_file=::static +/CALIBRATION_FILE=::STATIC 
-/motion_file_names=::folder&movement.c3d+/MOTION_FILE_NAMES=::FOLDER&movement.c3d
 ; ;
 </code> </code>
visual3d/documentation/pipeline/model_commands/apply_model_template.1718801519.txt.gz · Last modified: 2024/06/19 12:51 by sgranger