Im stuck on this for a while now. In blender it’s possible to assign a material to specific vertices.
(edit mode -> select vertice -> select material slot -> click assign button).
However I can’t figure out how to retrieve this information via python.
I have however found out:
How to find the materials assigned to a mesh.
bpy.meshes[0].materials
How to find the material assigned to a face
bpy.data.meshes[0].faces[0].material_index
But how to find the material assigned to a vertex? I’m lost. Please help!
[edit] Blender version is 2.62