If anyone is interested here's a free Blender script that seems to work.
http://www.warpax.com/pytsai/