Hello!
There is one problem.
I’ve got two objects.How can I compare their mesh data, not by names?
Hello!
There is one problem.
I’ve got two objects.How can I compare their mesh data, not by names?
Get to the vertices of the mesh and compare those?
http://www.blender.org/documentation/blender_python_api_2_70_release/bpy.types.Mesh.html
Or try bmesh:
http://www.blender.org/documentation/blender_python_api_2_70_release/bmesh.html#module-bmesh
If that’s what you mean?
It highly depends on your data. Do two objects use the same mesh datablock? Are they two separate meshes, but with identical geometry? Did they start off with same geometry, but one rotated later? (the mesh data, not the object!). Do they have different number of vertices/edges/faces, and you wanna measure the similarity?
They are two separate meshes, but with identical geometry.