Editing .vtp Geometry Files
Briefly explains how to edit the .vtp files available in the OpenSim "Geometry" folder if you don't have a .vtp file editor. Useful in, e.g., redefining the origin of the .vtp file to coincide with the center of mass of the body.
- The pdf explains how to do things on your own.
- matlabCode is the Matlab Code alone, assuming you've copied and pasted the appropriate portion of the .vtp file into corresponding .txt files
- Tryout Example contains the Matlab Code, input and output .txt files, and a folder containing the lumbar .vtp files with origins set to the geometric centers of the bodies.
The easiest way to do things is to read through the .pdf explanation first and really understand it. That'll help you decide if you need to download the Matlab Code/Tryout Example folder.