Blender Python Set Center al centro de masa
bpy.ops.object.origin_set(type='ORIGIN_GEOMETRY')
HotFlow
bpy.ops.object.origin_set(type='ORIGIN_GEOMETRY')