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 [2024/07/12 13:29] – removed sgranger | visual3d:documentation:pipeline:file_commands:recalc [2025/07/30 18:00] (current) – [Examples] wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Recalc ====== | ||
+ | |||
+ | ===== Overview ===== | ||
+ | |||
+ | The **Recalc** command is used to update the workspace by re-processing key calculations after any model changes are made. This is often necessary when new segments or landmarks have been added, or when model-based computations may no longer be in sync with the current model structure. | ||
+ | |||
+ | When executed, Recalc performs a comprehensive rebuild of the workspace by: | ||
+ | * Rebuilding all models | ||
+ | * Recomputing model-based landmarks and pose (position and orientation) | ||
+ | * Reassigning force platforms | ||
+ | * Recomputing kinematics and kinetics | ||
+ | * Recomputing center of mass | ||
+ | * 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, which can be found in the pipeline workshop or accessed via the button at the top of the Visual3D interface. | ||
+ | |||
+ | For more information on customizing this process, visit the [[visual3d: | ||
+ | |||
+ | ===== Pipeline Command ===== | ||
+ | |||
+ | The command below is as seen in the Visual3D application. It does not take any parameters, as it is a standalone command. | ||
+ | |||
+ | < | ||
+ | Recalc | ||
+ | |||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ===== Command Parameters ===== | ||
+ | |||
+ | This command does not take any user-defined parameters, to customize what is processed with Recalc, visit the [[visual3d: | ||
+ | |||
+ | |||
+ | ===== Dialog ===== | ||
+ | |||
+ | There is no dialog box for this command due to it being a stand-alone function. The application interface alternative option is the recalc button on the toolbar: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ===== Examples ===== | ||
+ | |||
+ | The following examples will go through the use of the Recalc command in the Visual3D application. | ||
+ | |||
+ | |||
+ | === 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 between heel, MT1, and MT5), running the Recalc command to update the model, and then setting up for use in further analysis. | ||
+ | |||
+ | 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 | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | ! /MCS_ML=0.0 | ||
+ | ! /MCS_AP=0.0 | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | |||
+ | Recalc | ||
+ | |||
+ | ; | ||
+ | </ | ||
+ | |||
+ | Step 3: Use Landmark in Further Analysis | ||
+ | |||
+ | Here we compute the global maximum of the LF_MIDPT landmark' | ||
+ | |||
+ | < | ||
+ | Metric_Maximum | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== 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/documentation/pipeline/file_commands/recalc.1720790982.txt.gz · Last modified: 2024/07/12 13:29 by sgranger