Blender Python set center to center of mass code example Example: Blender Python set center to center of mass bpy.ops.object.origin_set(type='ORIGIN_GEOMETRY')