visual3d:documentation:pipeline:file_commands:recalc
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:pipeline:file_commands:recalc [2025/07/30 16:00] – wikisysop | visual3d:documentation:pipeline:file_commands:recalc [2025/07/30 18:00] (current) – [Examples] wikisysop | ||
---|---|---|---|
Line 13: | Line 13: | ||
* Updating report graphs and display windows. | * Updating report graphs and display windows. | ||
- | You can actually customize the commands that are executed when the Recalc is run. These are listed under the RECALC Pipeline, | + | You can actually customize the commands that are executed when the Recalc is run. These are listed under the RECALC Pipeline, |
- | + | For more information on customizing this process, visit the [[visual3d:documentation:pipeline:general_information:recalc_pipeline|RECALC | |
- | The **Recalc** command is used to rebuild and update all model-based data for every file in the workspace. It performs a wide range of recalculations including models, landmarks, kinematics, kinetics and more. | + | |
- | + | ||
- | This command is especially important after making changes to: | + | |
- | * A model definition | + | |
- | * A pipeline command affecting landmarks and forces | + | |
- | * Any updates that alter segment pose, orientation, | + | |
- | + | ||
- | The command also executes | + | |
- | + | ||
- | + | ||
- | ==== Understanding the Recalc Pipeline ==== | + | |
- | + | ||
- | When the command is executed (or the button is clicked), Visual3D performs the following in order: | + | |
- | + | ||
- | 1. Reprocess Force Platforms: If the setting for "Use Processed Analog" | + | |
- | + | ||
- | 2. Rebuild All Models: All models in the workspace are regenerated. | + | |
- | + | ||
- | 3. Compute Landmarks and Pose: All landmarks and segment positions/ | + | |
- | + | ||
- | 4. Assign Force Platforms: Forces are re-mapped to the correct foot segment based on location/ | + | |
- | + | ||
- | 5. Compute Assigned Forces: Net force and moment vectors are recalculated at the assigned foot. | + | |
- | + | ||
- | 6. Compute Kinematics and Kinetics: Joint angles, moments and forces are recalculated. | + | |
- | + | ||
- | 7. Compute Center of Mass: Whole-body center of mass is updated. | + | |
- | + | ||
- | 8. Execute Recalc | + | |
- | + | ||
- | 9. Update UI and Report Graphs: Any new data is shown in the UI, and graphs are refreshed. | + | |
===== Pipeline Command ===== | ===== Pipeline Command ===== | ||
- | The command below is as seen on the Visual3D application, it has many parameters as there are many options to manipulate this command. | + | The command below is as seen in the Visual3D application. It does not take any parameters, as it is a standalone |
< | < | ||
Line 60: | Line 29: | ||
===== Command Parameters ===== | ===== Command Parameters ===== | ||
- | This command does not have any parameters. It will always execute the default and user-defined Recalc | + | This command does not take any user-defined |
===== Dialog ===== | ===== Dialog ===== | ||
Line 72: | Line 42: | ||
The following examples will go through the use of the Recalc command in the Visual3D application. | The following examples will go through the use of the Recalc command in the Visual3D application. | ||
- | === Example 1: Recalculate model and landmark changes === | ||
- | ! Create left foot midpoint | + | === Example 1: Adding a Custom Foot Midpoint Landmark and Recalculating the Model === |
+ | |||
+ | This example walks through the process of defining a new custom landmark on the foot (midpoint | ||
+ | |||
+ | Firstly, ensure that target markers are available in your workspace, so that joint positions can be determined. If they have not yet been created, use the [[visual3d: | ||
+ | |||
+ | < | ||
+ | Create_Target | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | Step 2: Add the Midpoint Landmark to the Model and Recalc to ensure it is created. | ||
+ | |||
+ | < | ||
Add_Landmark | Add_Landmark | ||
/ | / | ||
! / | ! / | ||
! / | ! / | ||
- | ! / | + | / |
! / | ! / | ||
- | ! / | + | / |
! / | ! / | ||
- | ! / | + | / |
- | ! / | + | / |
! /MCS_ML=0.0 | ! /MCS_ML=0.0 | ||
! /MCS_AP=0.0 | ! /MCS_AP=0.0 | ||
- | ! / | + | / |
! / | ! / | ||
! / | ! / | ||
Line 94: | Line 81: | ||
; | ; | ||
+ | Recalc | ||
+ | ; | ||
+ | </ | ||
+ | Step 3: Use Landmark in Further Analysis | ||
- | The **Recalc** command is used to rebuild and update all model-based data for every file in the workspace. It performs a wide range of recalculations including models, landmarks, kinematics/ | + | Here we compute |
- | + | ||
- | This command is especially important making changes to: | + | |
- | * A model definition | + | |
- | * A pipeline command affecting landmarks or forces | + | |
- | * Any updates that alter segment pose, orientation, | + | |
- | + | ||
- | The command also executes | + | |
- | + | ||
- | When the Recalc command is executed (or the Recalc button in the GUI is clicked), Visual3D performs the following in order: | + | |
- | + | ||
- | 1. Reprocess Force Platforms | + | |
- | + | ||
- | If the setting for "use processed analog" | + | |
- | + | ||
- | 2. Rebuild All Models | + | |
- | + | ||
- | Recalculates the Workspace. | + | |
< | < | ||
- | Recalc | + | Metric_Maximum |
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
; | ; | ||
</ | </ | ||
- | Rebuilds any model(s) and any landmarks dependent on the model(s). The Recalc command also executes the [[Visual3D: | ||
- | \\ | + | ===== Notes ===== |
+ | * Recalc ensures your model-based computations and workspace signals are always up-to-date. | ||
+ | * If you add or edit any landmarks or segments, you should run Recalc before further calculations or reports. | ||
+ | * The RECALC Pipeline can be customized to add user-defined commands that will always run when Recalc us executed. | ||
+ | |||
+ | |||
+ | ---- | ||
[[Visual3D: | [[Visual3D: | ||
visual3d/documentation/pipeline/file_commands/recalc.1753891217.txt.gz · Last modified: 2025/07/30 16:00 by wikisysop