ammr
ammr copied to clipboard
Mocap marker check
This is prof-of-concept on how to use a python hook in a MoCap model analyse a c3d file and print the result of the analysis directly in the AnyBody output window.
To use the example:
-
Open the file: Application/MocapExamples/Plug-in-gait_Simple/LowerExtremity.main.any
-
Then change the
#path ANYBODY_PATH_PYTHONHOME
variable to point to a local python environment withezc3d
installed (e.g. conda install -c conda-forge ez3d"This step will not be necessary in 7.4 as this will come with ezc3d in the builtin python distribution.
-
Load the model
The check is done in the file: Tools/AnyMocap/c3d_marker_check.py
It is currently hard to debug python when running through a hook. I suggest running the python file directly when testing.