Plug-in filter to perform extrapolation of the animation node curves. Supported algorithms are constant, linear and quadratic Polynomial extrapolation.
By default, the type of extrapolation is linear, which is equal to “Keep Slope” type in Mobu.
Area – number of keys to capture for extrapolation algorithm
Pre Enabled – enabled/disabled pre extrapolation
Pre Count – number of pre-extrapolated keys
Pre Type – type of the pre extrapolation
Post Enabled – enabled/disabled post extrapolation
Post Count – number of post-extrapolated keys
Post Type – type of the post extrapolation
MotionBuilder 2010 (32 bit & 64 bit) – MotionBuilder2010
Usage sample in Python
from pyfbsdk import *
list = FBModelList()FBGetSelectedModels(list)
for obj in list:
# Create a Key Extrapolate filter.
lFilter = FBFilterManager().CreateFilter( 'Extrapolate' )
lFilter.PropertyList.Find( 'Pre Enabled' ).Data = True
lFilter.Apply( obj.Translation.GetAnimationNode(), True )
- Property enums such as extrapolation type is not displayed in the user interface and are not recognized by Python.
- Polynomial extrapolation is not so good, it behaves very unstable and not very predictable. Perhaps the algorithm should be replaced altogether if possible. May be my version of Gauss poly_fit is not very good.