Character Animator

Tools

I wanted to learn more scripting to help my animation workflow. Aaron and Morgan’s scripts were amazing to learn from and to see where I wanted to tweak things to be more what I was looking for. Sometimes I want to work away from the Graph Editor moving frames on the timeline, and other times I want to make working in the Graph Editor easier.

UI slider

The number selected on the slider or entered is the amount the keyframe(s) are actioned by. The slider goes to 24 to action frames up to 1 second, but a higher number can be entered in the text field.

Move Keys

Moves the selected keyframe(s) (on the timeline or in the Graph Editor).
If any channels are selected, it only moves the key(s) on those channels.

Set these as hotkeys and it moves the selected keyframe or selected range of keyframes.
If the tool window is open, it takes the value from the slider, otherwise it defaults to 1.

import jnm_keyswin;jnm_keyswin.moveKeys('left')
import jnm_keyswin;jnm_keyswin.moveKeys('right')

Re-time

Based on the first selected key on the timeline, the range of selected keys are re-timed by the number selected in the UI. If any channels are selected, it only re-times the key(s) on those channels. If used as a shelf button, it creates a small window with a slider and the Re-time button.

Standalone tool window :

import jnm_keyswin;jnm_keyswin.retimewin()

Set / Select

Sets/Select keys every number of frames between two selected keyframes. Number taken from UI selected value.
If any animation layers exist, you must also select the curves animation layer. If used as a shelf button, it creates a small window with a slider and the Set/Select buttons.

Standalone tool window :

import jnm_keyswin;jnm_keyswin.setselWin()