I am trying to get a list of faces that has each index of the 3 vertices that go with it. I thought about just doing it from scratch but they are kinda in random order. I am looking for a list that's like this: I also attached an image to make it more clear to what im looking for... thanks for help! 3FacesThatAreShownInCode

Faces = [
#and so on and so forth...

1 Answer 1


This code should give you the face's verts indices:

import bpy
import bmesh 
obj = bpy.data.objects['Cube'] #Using default cube as example

bm = bmesh.new()
vert_idx = []
for f in bm.faces:
    vert_idx.append([v.index for v in f.verts])

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.