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.

Filter properties description

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

Download

MotionBuilder 2010 (32 bit & 64 bit) – MotionBuilder2010

Usage sample in Python

1
2
3
4
5
6
7
8
9
10
11
12
13
from pyfbsdk import *

list = FBModelList()FBGetSelectedModels(list)
for obj in list:
# Create a Key Extrapolate filter.

lFilter = FBFilterManager().CreateFilter( 'Extrapolate' )

if lFilter:

lFilter.PropertyList.Find( 'Pre Enabled' ).Data = True

lFilter.Apply( obj.Translation.GetAnimationNode(), True )

TODO

  1. Property enums such as extrapolation type is not displayed in the user interface and are not recognized by Python.
  2. 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.
MoBu plugin: Extrapolate Filter
Tagged on:         

Leave a Reply

Your email address will not be published. Required fields are marked *