Displaying bone geometries with Python
Displaying bone geometries with Python
I've just started using Python with Opensim and have imported and visualized the Hamner2010 (Full body) model using Spyder(Python 2.7). However, the model appears without bones. I assume that the bone geometry libraries haven't been imported? How would I go about including bone geometries e.g. so the model appears the same as displayed as using the OpenSim GUI?
Tags:
Re: Displaying bone geometries with Python
You can add the Geometry Path to the Visualizer via;
let us know if that works?
Code: Select all
ModelVisualizer.addDirToGeometrySearchPaths(Path2GeometryDir)
Re: Displaying bone geometries with Python
That worked great. Thanks James!