snnib.blender.utils.mesh_utils.apply_rotation

snnib.blender.utils.mesh_utils.apply_rotation(obj: bpy.types.Object)[source]

applies rotation to obj

  • equivalent to calling Ctrl + a > apply rotation in the UI

Parameters
  • obj
    • bpy.types.Object

    • object to apply rotation to

Raises

Returns

Dependencies
  • bpy

  • logging

  • numpy

  • typing