Light Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

brycegbrazen/maya-anchor-transform

Repository files navigation

maya-anchor-transform

Anchor transforms to world or object space in Maya.

Click for video

Installation

  • Extract the content of the .rar file anywhere on disk.
  • Drag the anchorTransform.mel file in Maya to permanently install the script.

Usage

A button on the MiscTools shelf will be created that will allow easy access to the ui, this way the user doesn't need to worry about any of the code. If user wishes to not use the shelf button the following commands can be used.

Command line:

transform = "cube"
driver = None
start = 1001
end = 1010

import anchorTransform
anchorTransform.anchorTransform(transform, driver, start, end)

Display UI:

import anchorTransform.ui
anchorTransform.ui.show()

Note

Anchor a transform to world or object space for a specific time range. Can be used to fix sliding feet on a walk cycle. The script uses the Maya API to calculate local transforms to be key framed, by doing this there is no need to loop over the animation greatly speeding up the work flow. Existing in and out tangents will be copied when new key frames are inserted. Once all keys are set an euler filter is applied to the animation curves connected to the rotate attributes.

About

Anchor transforms to world or object space in Maya.

Resources

Readme

License

GPL-3.0 license

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

  • Python 98.6%
  • AMPL 1.4%