bpy_extras submodule (bpy_extras.anim_utils)

bpy_extras.anim_utils.bake_action(frame_start, frame_end, frame_step=1, only_selected=False, do_pose=True, do_object=True, do_constraint_clear=False, do_clean=False, action=None)

Return an image from the file path with options to search multiple paths and return a placeholder if its not found.

Parameters:
  • frame_start (int) – First frame to bake.
  • frame_end (int) – Last frame to bake.
  • frame_step (int) – Frame step.
  • only_selected (bool) – Only bake selected data.
  • do_pose (bool) – Bake pose channels.
  • do_object (bool) – Bake objects.
  • do_constraint_clear (bool) – Remove constraints.
  • do_clean (bool) – Remove redundant keyframes after baking.
  • action (bpy.types.Action or None) – An action to bake the data into, or None for a new action to be created.
Returns:

an action or None

Return type:

bpy.types.Action

Previous topic

Extra Utilities (bpy_extras)

Next topic

bpy_extras submodule (bpy_extras.object_utils)