I have a LARGE amount of animations that I have to fix. (Joints have been over-rotated.) It seems the most concrete numbers that I can modify is the range of the horizontal axis.
Is there a way I can pick a single rotation axis (Z axis for this example) and get the range of the curve, 180.00 and 180.17 (min and max, respectively), and then change the range to 90.00 and 90.17? Using just Python? The documentation doesn’t show how to modify these kinds of FCurve properties, or am I not looking hard enough?
I don’t think there is such a thing called curves in the MB python.You’ll probably have to run through the frame range editing the FBVector3d data one frame per cycle. It’s relatively simple but annoying not to be able to do math on a curve object.
You can access the FCurve through python and the documentation tells you what you can use to interact with it. However, I was just wondering if there were some hidden secrets that anyone else here knew about.
There aren’t any “tricks” that I’m aware of. You’d pretty much have to muscle your way through it. Iterate over the keys and edit the values according to your range factor. I’ve done a fair amount of stuff with FCurves and Keys so I can help out if you get hung up.