Is there connection between numbering vertices (and coordinates of these vertices) in Blender and MH? What do I mean?
If I want to know vertices' coordinates in Blender I type
- Code: Select all
import bpy
obj = bpy.context.object
mesh = obj.data
mesh.vertices[10030].co
and for this example I get (3.2936999797821045, -0.42649999260902405, 3.812299966812134)
So I expect to get the same data in MH, so I type (in the Shell):
- Code: Select all
human = G.app.selectedHuman
mesh = human.mesh
mesh.coord[10030]
and I get (3.49353361, 3.51263309, 0.48666668).
What is the difference between "coord" and "orig_coord" array? And the most important question for me is: are vertices from Blender and MH with the same index exactly the same in the mesh? What array in mesh I should use?
Thank you!