I wrote this code to help with some research Im doing but figured it might be useful for others. It hasnt been tested on any other data apart from the sample.
I have slightly adapted the great BVH loader from here:https://github.com/wspr/bvh-matlab
It includes a py script for extracting the weights and mesh of a skinned armature from Blender. It assumes the armature animation has been saved as a BVH file in Blender.
Fixed a simple bug in the display