action name cleaner addon

Action Name Cleaner add-on for Blender

Blender calls reusable animation clips Actions. Other tools and file formats may call the same idea animations, clips, takes, sequences, stacks, or animation layers.

When animation data moves between tools, exporters often wrap the original animation name with extra context. They may include the armature object name, the FBX animation stack, a take name, a layer name, or the name of the imported object that owned the animation. This is why a readable animation name can turn into something like this:

Armature.001|Rifle_StrafeRun135LeftLoop|Rifle_StrafeRun135LeftLoop:BaseAnimation

The useful part is still the animation name. The Action Name Cleaner removes duplicated exporter information and converts the result to snake case:

rifle_strafe_run_135_left_loop

Files

What it cleans

Workflow

  1. Install and enable blender_action_name_cleaner_addon.py.
  2. Open the Blender file that contains the Actions.
  3. Open 3D View > Sidebar > Animation > Action Name Cleaner.
  4. Choose Active Action or All Actions.
  5. Optionally enable Print Mapping to print old and new names to the console.
  6. Run Clean Action Names.

Examples

Armature.001|Rifle_StrafeRun135LeftLoop|Rifle_StrafeRun135LeftLoop:BaseAnimation
  -> rifle_strafe_run_135_left_loop

Armature|Walk|Walk:BaseAnimation
  -> walk

mixamorig:Hips|RunForward|RunForward:Layer0
  -> run_forward

Notes


edit this page