0

I have an (simple) object for which I moved the origin outside of the object to be able to rotate around it. Is there a way to read this given offset with python?

When using bpy.data.objects['Cube'].location , only the location of the origin is given. So basicly I need the locations of the vertexes wrt the origin. Help is much appreciated.

Guest
  • 1
  • The origin is some arbitrary point designated as (0, 0, 0) in local coordinates. All vert coords are wrt origin. Because it is arbitrary there is no saved previous location if adjusted. However the default origin of most meshes is also the centre of geometry. (mean of bounding box coordinates). Coords of COG is the vector describing its offset from origin. An empty parent is another way to consider adding pivot point. – batFINGER Nov 19 '20 at 12:51
  • https://blender.stackexchange.com/questions/62040/get-center-of-geometry-of-an-object – batFINGER Nov 19 '20 at 12:54
  • Thank you for your answer. The other thread was quite helpful. – Guest Nov 19 '20 at 15:07

0 Answers0