Thank you for the response.
That doesn’t seem to be the case though. Here is an example.
In this case, the origin of the mesh is near one edge. The min/max values of the vertices are (-2.333, -2.333, -2.333)(2.365, 2.365, 2.365). The object location is (-0.022, 2.107, 0.0).
With an origin of (0, 0, 0), I would expect that the min Y of the vertices would be closer to 0.
If I perform bpy.ops.object.origin_set(type='ORIGIN_GEOMETRY', center='MEDIAN')
then the min/max values change to (-2.348, -2.348, -2.348)(2.35, 2.35, 2.35) and the location changes to (-0.007, 0.154, 0.576). So there is definitely a 3rd value since bpy.ops.object.origin_set
used it to calculate the other values.
There is a bpy.ops.object.origin_set
and bpy.ops.object.origin_clear
but I don’t see any bpy.ops.object.origin_get
. But the value must be stored somewhere.