action start cleaner addon

Action Start Cleaner add-on

Some imported animations keep the frame numbers from the program that exported them. That can leave an Action with empty time at the beginning: for example, the real animation keys might start on frame 42 even though you want the clip to start immediately.

This add-on shifts Actions so the earliest keyframe lands on a target start frame. The default target is frame 1, but it can also use the scene start frame or a custom frame.

Download

blender_action_start_cleaner_addon.py

Install

  1. In Blender, open Edit > Preferences > Add-ons.
  2. Use Install from Disk and choose blender_action_start_cleaner_addon.py.
  3. Enable Action Start Cleaner.

Use

  1. Open the 3D View sidebar with N.
  2. Go to Animation > Action Start Cleaner.
  3. Choose All Actions to clean every Action in the file, or Active Action to clean only the Action assigned to one armature.
  4. Choose the target start frame.
  5. Run once with Dry Run enabled to see what would move.
  6. Disable Dry Run and run again to actually shift the keyframes.

What it changes

The add-on moves every keyframe in an Action by the same amount. It also moves the keyframe handles, so curve interpolation keeps the same shape. If an Action starts at frame 30 and the target is frame 1, every keyframe is shifted by -29 frames.

It does not change the pose, bone names, mesh, rig, or animation values. It only changes when the keys occur.

When to use it


edit this page