visual3d:documentation:pipeline:event_commands:event_copy
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:pipeline:event_commands:event_copy [2025/04/28 18:45] – wikisysop | visual3d:documentation:pipeline:event_commands:event_copy [2025/04/29 14:13] (current) – [Dialog] wikisysop | ||
---|---|---|---|
Line 11: | Line 11: | ||
- | ==== Pipeline Command ==== | + | ===== Pipeline Command |
The command below is the command as seen in the Visual3D application. | The command below is the command as seen in the Visual3D application. | ||
Line 28: | Line 28: | ||
</ | </ | ||
- | ==== Command Parameters ==== | + | ===== Command Parameters |
The following table shows the command parameters and descriptions: | The following table shows the command parameters and descriptions: | ||
Line 46: | Line 46: | ||
- | ==== Dialog ==== | + | ===== Dialog |
The command can be edited in a text editor or in a dialog form. To edit in the dialog pop up form either click on the Edit button in the pipeline workshop or double-click on the pipeline command. The dialog is shown below. | The command can be edited in a text editor or in a dialog form. To edit in the dialog pop up form either click on the Edit button in the pipeline workshop or double-click on the pipeline command. The dialog is shown below. | ||
{{: | {{: | ||
+ | |||
+ | * **Event Label to Copy**: Name of existing event to be copied over. | ||
+ | * **New Event Label Name**: Name to assign the new (copied) event. | ||
+ | * **Frame Offset**: Number of frames to shift the copied event. | ||
+ | * **Time Offset**: Shift copied event by time (in seconds). | ||
+ | * **Percent Offset**: Shift the copied event by a percentage of the range it falls within. | ||
+ | * **Find Event Within Range**: Specify events to define range to search between. | ||
* **Optional- Select Range Instance**: | * **Optional- Select Range Instance**: | ||
Line 58: | Line 65: | ||
When set to 0, it means all occurrences of the event will be processed. When **Interpret Event Instance As List** is checked, the event is treated as a list rather than a single value. | When set to 0, it means all occurrences of the event will be processed. When **Interpret Event Instance As List** is checked, the event is treated as a list rather than a single value. | ||
- | ==== Examples ==== | + | ===== Examples |
The following examples will go through the use of the **Event_Copy** command in the Visual3D application. | The following examples will go through the use of the **Event_Copy** command in the Visual3D application. | ||
- | === Example 1: Event_At_Midstance === | + | ==== Example 1: Event_At_Midstance |
The stance phase of the gait cycle is the period when the foot is in contact with the ground, it is defined by the labels RON and ROFF. The following command will create an event mid way between RON and ROFF. | The stance phase of the gait cycle is the period when the foot is in contact with the ground, it is defined by the labels RON and ROFF. The following command will create an event mid way between RON and ROFF. | ||
Line 87: | Line 94: | ||
This command will use all instances of a range defined by the **Event_Sequence** and **Exclude_Event**, | This command will use all instances of a range defined by the **Event_Sequence** and **Exclude_Event**, | ||
- | === Example 2: Copying the last event in the sequence === | + | ==== Example 2: Copying the last event in the sequence |
The event sequence used in the **Event_Copy** command includes the first event, but not the last event. This idiosyncratic behavior was introduced to handle sequences that had the same event label name at each end of the sequence. | The event sequence used in the **Event_Copy** command includes the first event, but not the last event. This idiosyncratic behavior was introduced to handle sequences that had the same event label name at each end of the sequence. | ||
Line 110: | Line 117: | ||
- | === Example 3: Create an Event based on a time threshold between 2 Events === | + | ==== Example 3: Create an Event based on a time threshold between 2 Events |
In this example, an event named BAD is created if the time between two events (RHS-> RHS) exceeds a threshold. The following is the breakdown of the command: | In this example, an event named BAD is created if the time between two events (RHS-> RHS) exceeds a threshold. The following is the breakdown of the command: | ||
- Define a Stride: the time between two consecutive RHS. | - Define a Stride: the time between two consecutive RHS. | ||
Line 162: | Line 169: | ||
! Create indices for a for each loop | ! Create indices for a for each loop | ||
- | **Get_Pipeline_Parameter_Count** | + | Get_Pipeline_Parameter_Count |
/ | / | ||
/ | / | ||
Line 181: | Line 188: | ||
! If the binary signal is 1 execute event copy | ! If the binary signal is 1 execute event copy | ||
- | Expression_Loop | + | Conditional_Statement |
/ | / | ||
/ | / | ||
Line 201: | Line 208: | ||
; | ; | ||
- | Expression_Loop_End | + | Conditional_Statement_End |
/ | / | ||
; | ; |
visual3d/documentation/pipeline/event_commands/event_copy.1745865932.txt.gz · Last modified: 2025/04/28 18:45 by wikisysop