I have created a cuboid room in blender using python and it has 289 faces as shown in the stats (in the image). How can I find which polygon number a particular face is ?
For example, If I print the output of the number of polygons by
Code snippet:
mesh = ob.data
face_list = [face for face in mesh.polygons]
print('Face list: ', face_list)
Output:
bpy.data.meshes['new_mesh.001'].polygons[0],
bpy.data.meshes['new_mesh.001'].polygons[1] ... bpy.data.meshes['new_mesh.001'].polygons[288]
I want to know which face belong to which polygon number. Is there a way to find this ?