What is the difference between MeshFace.vertices and MeshFace.vertices_raw? The api documentation does not mention it.
The difference, as I understand it, is that vertices_raw always has 4 elements, even for a triangular face (the unused element is 0). Try creating a Cone object and set the number of vertices in the base to 3, and you can see the difference by interrogating the mesh from the console:
>>> tuple(bpy.data.meshes[“Cone”].faces[0].vertices)
(1, 0, 3)
>>> tuple(bpy.data.meshes[“Cone”].faces[0].vertices_raw)
(1, 0, 3, 0)
If you are as lazy as I am use [:] at the end of an object inplace of using tuple(…) ; gives same result (checked)
i think it makes it easier to use the geometry method to make mesh !
also there is a script to convert from list to tuple of even to flatten list for this
but lost track of it anybody remember what it was !
thanks happy 2.5