Reference/Release Notes/2.80/Python API/Mesh API

= Blender 2.80: Mesh API =

Mesh Tesselation
The legacy Blender tesselated faces have been removed from the API. They were a leftover from before n-gon support was added and only supported triangles and quads.

For most cases, mesh polygons should be used instead. Exporters and renderers that need to tesselate the mesh can use loop triangles as a replacement.

2.7x

2.8x

Loop triangles tessellate the mesh into triangles only. If quads are required, consecutive loop triangles corresponding to the same polygon can be considered as one quad.

UVs and vertex colors no longer have their own arrays, instead the loop indices can be used for access consistent with polygons.

2.7x

2.8x

Tip: mesh.uv_textures has been removed

Operator Enumerators and Flags
BMesh operator enumerators/flags in 2.7x were integer arguments. In 2.8x this has been changed to string enumerators:

2.7x

2.8x

Skin Root Vertices
Mesh skin vertex roots can now be set through the API.