Butter

Download: Source Zip

A Butterworth filter for Maya’s animation curves using Numpy and Scipy.

Butter

Butter is beta quality. Functionality and interface may change periodically. Please report any bugs and submit pull requests at the links below.

This filter allows you to quickly smooth and denoise high-density animation curves, usually from motion capture. If any curves are selected, the filter will manipulate only selected curves. If no curves are selected, the filter will manipulate all visible curves in the graph editor.

Quick tip: expand the window sideways for higher precision!

How to use: Enable the filter by clicking Start interactive filter. Select your filter type from [Highpass, Bandpass, Lowpass]. Use the sliders to start filtering curves. Exit the filter by clicking Exit filter. Undo or redo as necessary.

Loading and Unloading

# Load
import ita_Butter
ita_Butter.show()

To Install

Put ita_Butter directory into your maya scripts directory. The default locations are:

System Location
Windows C:\Users\user\My Documents\maya\version\prefs\scripts
Linux ~/maya/version/prefs/scripts
Mac /Users/user/Library/Preferences/Autodesk/maya/version

Dependencies

Butter requires Numpy and Scipy. These are libraries with C extensions, so must be compiled for Maya’s Python interpreter (mayapy) and be made available to it. The script looks for these libraries under ita_Butter/deps but any other available site-packages directory would also work. Compiling C extensions is beyond the scope of this readme, but pre-compiled binaries are available for download:

Windows: See Windows README for instructions.

Linux and OSX: See Linux README for instructions.

For a custom site-packages directory:

License

(c) Jeffrey “italic” Hoover italic.rendezvous AT gmail

Licensed under the open source Apache 2.0 license. This script can be used for commercial and non-commercial projects free of charge.

Attribution not necessary, but greatly appreciated. Submit bug reports and pull requests:

Enjoy!