edges, vertices ok, but faces??? Thanks Paolo
hi, mesh.faces is mesh.polygons in bmesh.
thanks, perfect, and tessfaces what is it?
It is a collection of triangles and quads converted from the mesh’s polygons. To use it, you have to call my_mesh.update(calc_tessface=True) first. Quite tricky, I haven’t find a single note about it in the documentation.
emu: i wonder where you looked at
http://www.blender.org/documentation/blender_python_api_2_63_11/info_gotcha.html#ngons-and-tessellation-faces
btw. it is save to use:
if not me.tessfaces and me.polygons:
me.update(calc_tessface=True)
# or: me.calc_tessface()
Once tessfaces are available, they are kept in sync with the model (always up to date using Python)