visual3d:documentation:opensim:visual3d_to_opensim_demo
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:opensim:visual3d_to_opensim_demo [2024/06/19 14:04] – created sgranger | visual3d:documentation:opensim:visual3d_to_opensim_demo [2024/10/25 16:17] (current) – Big clean-up. wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | [[https:// | + | ===== Visual3D to OpenSim |
- | \\ | + | This example is for exporting |
- | This example is for a standard OpenSim " | + | |
- | What Visual3d does is: | + | ==== Downloads ==== |
- | Step 1) Scales | + | Different OpenSim-related files are required depending on the version of OpenSim that you are using: |
+ | - [[https:// | ||
+ | - [[https:// | ||
+ | - [[https:// | ||
+ | - [[https:// | ||
+ | - **[[https:// | ||
- | Step 2) It then computes the center of pressure in the foot coordinate system and stores this in memory. | + | ==== Overview ==== |
- | Step 3) Next does its own Inverse Kinematics so you do not have to use the OpenSim IK. | + | Visual3D performs the following steps to export the OpenSim " |
+ | - Scales the model to fit the subject. (The scaling is written to a _ScaleSet.xml file called Visual3d_ScaleSet.xml.) | ||
+ | - Computes the center of pressure in the foot coordinate system and stores this in memory. | ||
+ | - Performs | ||
+ | - After the inverse kinematics, the center of pressure is transferred back from the foot coordinate system into lab space so the relationship between the center of pressure and the model is maintained. Visual3D should handle the center of pressure data seamlessly. | ||
+ | - Exports the model' | ||
- | Step 4) After the inverse | + | With the process no trc files are needed and all the kinematics, |
- | Step 5) Visual3d then exports the model' | + | **NOTE**: There are [[visual3d: |
- | With the process no trc files are need and all the kinematics, ground reaction forces and center of pressure are contained in a single .mot file. | + | ==== Instruction for Exporting from Visual3D |
- | + | ||
- | \\ | + | |
- | + | ||
- | + | ||
- | ==== Instruction for Running Visual3d | + | |
=== Part 1 – Creating the motion file for OpenSim === | === Part 1 – Creating the motion file for OpenSim === | ||
- | - Start Visual3d | + | - Start Visual3D |
- If the subject is not walking in the +Y with +Z as vertical create a v3d_lab segment as outlined in the Appenddix | - If the subject is not walking in the +Y with +Z as vertical create a v3d_lab segment as outlined in the Appenddix | ||
- | - Go to File and select ExportExport OpenSim Motion File. Alternatively the user could export the file using ExportExport OpenSim Motion File without Cleanup. (The only difference between the two method is that if the method without Cleanup is selected then the OpenSim Inverse Kinematics remains applied to the model after export and the resulting position state variables get written to the “DERIVEDInverse Kinematics” folder of Visual3d | + | - Go to File and select Export->Export OpenSim Motion File. Alternatively the user could export the file using Export->Export OpenSim Motion File without Cleanup. (The only difference between the two method is that if the method without Cleanup is selected then the OpenSim Inverse Kinematics remains applied to the model after export and the resulting position state variables get written to the “DERIVED Inverse Kinematics” folder of Visual3D |
- Enter the data range and click the OK button. | - Enter the data range and click the OK button. | ||
- | - Visual3d | + | - Visual3D |
- | - After selecting the ScaleSet file, Visual3d | + | - After selecting the ScaleSet file, Visual3D |
- | Once steps 1-6 are completed, | + | Once steps 1-6 are completed, |
- | === Part 2 – Scaling and Viewing | + | === Part 2 – Scaling and viewing |
- Start OpenSim and load the file openSim model. (This will be either gait2392_simbody.osim or gait2392_simbody.osim) | - Start OpenSim and load the file openSim model. (This will be either gait2392_simbody.osim or gait2392_simbody.osim) | ||
Line 49: | Line 53: | ||
At this point the users should be ready to run the OpenSim Residual Reduction Algorithm by loading the file: Visual3d_Setup_RRA.xml. OpenSim CMC and Forward Simulation can subsequently be run by using the files Visual3d_Setup_CMC.xml and Visual3d_Setup_Foward.xml. | At this point the users should be ready to run the OpenSim Residual Reduction Algorithm by loading the file: Visual3d_Setup_RRA.xml. OpenSim CMC and Forward Simulation can subsequently be run by using the files Visual3d_Setup_CMC.xml and Visual3d_Setup_Foward.xml. | ||
- | |||
- | |||
visual3d/documentation/opensim/visual3d_to_opensim_demo.1718805875.txt.gz · Last modified: 2024/06/19 14:04 by sgranger