visual3d:documentation:pipeline:pipeline_commands:pipeline_breakpoint
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:pipeline:pipeline_commands:pipeline_breakpoint [2024/06/19 12:52] – sgranger | visual3d:documentation:pipeline:pipeline_commands:pipeline_breakpoint [2025/06/20 20:00] (current) – Cleaned up page. wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | this command will place a breakpoint in the pipeline that will allow the user assess their current progress before continuing. a dialog will pop-up and a custom message will be shown to the user along with two buttons: one allowing you to resume and the other if you wish to halt. the command is as follows: | + | ====== Pipeline Breakpoint ====== |
- | **pipeline_breakpoint** | + | This command will place a breakpoint in the pipeline that will allow the user assess their current progress before continuing. A dialog will pop-up and a custom |
- | / | + | |
- | **;** | + | |
- | the message | + | |
- | for example, the following command will output four separate lines in the breakpoint prompt dialg | + | < |
+ | Pipeline_Breakpoint | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
- | **pipeline_breakpoint** | + | ===== Formatting Message in RTF ===== |
- | /pause_message= {\rtf1\ansi\deff0 | + | |
- | \pard one\par | + | The message can be formatted using a simple version of the rtf file format. For example, the following command will output four separate lines in the breakpoint prompt dialg |
- | \pard two\par | + | |
- | \pard three\par | + | < |
- | \pard four\par | + | Pipeline_Breakpoint |
+ | /PAUSE_MESSAGE= {\rtf1\ansi\deff0 | ||
+ | \pard One\par | ||
+ | \pard Two\par | ||
+ | \pard Three\par | ||
+ | \pard Four\par | ||
} | } | ||
- | **;** | + | ; |
- | ====== syntax issue ====== | + | </ |
- | consider | + | ===== Syntax Considerations ===== |
+ | |||
+ | Consider | ||
+ | |||
+ | < | ||
+ | Pipeline_Breakpoint | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | This pause message includes several special characters, notably the forward slash (/) which is a special character for pipeline commands indicating that a parameter name follows immediately afterwards. If an equals sign, " | ||
+ | |||
+ | In this example, Visual3D searches for an equals sign after each slash because this logically indicates that the user has specified a parameter. The / | ||
+ | |||
+ | The solution to this syntax issue is to either remove the " | ||
+ | < | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | or to specify two equals signs " | ||
+ | < | ||
+ | / | ||
+ | </ | ||
- | / | + | ===== Example |
- | a forward slash (/) is a special character for pipeline commands that indicates that a parameter_name follows immediately afterwards. | + | |
- | if an equals sign (=) follows visual3d confirms that a parameter was specified. | + | |
- | two equals signs (==), however, does confirm that a parameter was specified. | + | |
- | visual3d searches for an equals sign after each slash because this logically indicates that the user has specified a parameter. | + | |
- | pause_message is assigned the string 08/09 | + | |
- | visual3d finds an equals sign after the next slash, so interprets the rest of the string as a new parameter | + | |
- | /2017 by mjt using modify_speed_metric_ver01 speed = 0.4 | + | |
- | it doesn' | + | |
- | solution | + | |
- | remove the = sign | + | |
- | / | + | |
- | or specify two equals signs | + | |
- | / | + | |
- | ====== example pipeline ====== | + | |
< | < | ||
!============================================================== | !============================================================== | ||
- | ! this script is an example using the pipeline | + | ! This script is an example using the Pipeline |
! the user to review the model and make adjustments before continuing. | ! the user to review the model and make adjustments before continuing. | ||
!============================================================== | !============================================================== | ||
- | ! fresh workspace | + | ! Fresh Workspace |
- | file_new | + | File_New |
; | ; | ||
!-------------------------------------------------------------------------------- | !-------------------------------------------------------------------------------- | ||
- | ! apply model to motion files - | + | ! Apply model to motion files - |
- | ! bring in static file and apply model template. | + | ! Bring in static file and apply model template. |
!-------------------------------------------------------------------------------- | !-------------------------------------------------------------------------------- | ||
- | ! create | + | ! Create |
- | create_hybrid_model | + | Create_Hybrid_Model |
- | ! /calibration_file= | + | ! /CALIBRATION_FILE= |
- | ! /suffix= | + | ! /SUFFIX= |
- | ! /range=all_frames | + | ! /RANGE=ALL_FRAMES |
; | ; | ||
- | ! apply model template. | + | ! Apply model template. |
- | apply_model_template | + | Apply_Model_Template |
- | ! /model_template= | + | ! /MODEL_TEMPLATE= |
- | ! /calibration_file= | + | ! /CALIBRATION_FILE= |
; | ; | ||
- | ! breakpoint | + | ! Breakpoint |
- | pipeline_breakpoint | + | Pipeline_Breakpoint |
- | /pause_message=review | + | /PAUSE_MESSAGE=Review |
; | ; | ||
- | ! open motion files. | + | ! Open motion files. |
- | file_open | + | File_Open |
- | ! /file_name= | + | ! /FILE_NAME= |
- | ! /suffix= | + | ! /SUFFIX= |
- | /set_prompt=open motion files | + | /SET_PROMPT=Open motion files |
; | ; | ||
- | ! assign | + | ! Assign |
- | assign_tags_to_files | + | Assign_Tags_To_Files |
- | /motion_file_names=*walk* | + | /MOTION_FILE_NAMES=*walk* |
- | /tags=walk | + | /TAGS=WALK |
; | ; | ||
- | ! assign | + | ! Assign |
- | assign_model_file | + | Assign_Model_File |
- | ! /calibration_file= | + | ! /CALIBRATION_FILE= |
- | ! /motion_file_names= | + | ! /MOTION_FILE_NAMES= |
- | ! /remove_existing_assignments=false | + | ! /REMOVE_EXISTING_ASSIGNMENTS=FALSE |
; | ; | ||
</ | </ |
visual3d/documentation/pipeline/pipeline_commands/pipeline_breakpoint.1718801549.txt.gz · Last modified: 2024/06/19 12:52 by sgranger