I’m getting vertices, faces and uv coordinates from a 3rd party app and need to recreate the mesh in Blender 2.49.
mesh = bpy.data.meshes.new('mesh') mesh.verts.extend(coords) mesh.faces.extend(faces)
Currently coords is a list containing lists of 3 items,
e.g coords = [[0.0,0.0,0.0],[0.1,0.1,0.1],[1.0,1.0,1.0]…etc.]
I’ve noticed the MVert(http://www.blender.org/documentation/249PythonDoc/Mesh.MVert-class.html) object has the uvco property.
How can I set UV coords to my Blender mesh ?