I am entering vertex coordinates into Blender using a script. In my case I am using the method
mesh.from_pydata(vertices, edges, faces)
and data comes through just fine. However, irregardless of the settings Scene/Units/Unit System or Unit Scale the vertex coordinates will always be interpreted as unit meters.
For example if I define vertices like this
vertices = [(10, 10, 0),(10, 0, 0),(0, 10, 0),]
the vertices will be placed 10 meters apart, even if I specify e.g. Unit Scale 1000 or whatever.
So my question is: Does Blender always internally work in meters, such that whatever Scene/Units/Unit System or Unit Scale I choose, the vertex coordinates will always follow the script numerical values in meters?
I apologize if this is a stupid question, but I could not find a plain answer anywhere. The question is asked because I am writing an importer, and want to ensure that correct data comes through for any Blender user, irregardless of their Blender setting.