Utility to split THREE.js model (exported from 3D Studio Max) with single animation into seperate parts based on frame ranges.
This utility refactors THREE.js JSON model files that were exported using ThreeJSAnimationExporter.ms
plugin to maintain few animations instead of a single "Action" animation. List of resulting animation names and frame ranges has to be provided.
annotate.py [-h] [-u] -i FILE -o FILE range [range ...]
Split THREE.js model animation into seperate parts.
positional arguments:
range range in format "name=frame..frame"
optional arguments:
-h, --help show this help message and exit
-u, --gui run in GUI
-i FILE input file name
-o FILE output file name
example:
annotate.py -i model.js -o model.new.js idle=1..10 walk=11..20
./annotate.py -i model.js -o model.new.js idle=1..10 walk=1..20
I highly encourage you to participate in the development of this utility. Author: Andrew Dunai