Skip to content

Instantly share code, notes, and snippets.

@zid
Created June 11, 2023 18:00
Show Gist options
  • Save zid/b0d63a77f8822f3f6cba904dff2efd29 to your computer and use it in GitHub Desktop.
Save zid/b0d63a77f8822f3f6cba904dff2efd29 to your computer and use it in GitHub Desktop.
for f, _ in face_index_pairs[:-1]:
for i in f.vertices:
fw('%d, ' % (me_verts[i].index + totverts));
f, _ = face_index_pairs[-1]
for i in f.vertices:
fw('%d\n' % (me_verts[i].index + totverts));
.short 5, 3, 1, 3, 8, 4, 7, 6, 8, 2, 8, 6, 1, 4, 2, 5, 2, 6, 5, 7, 3, 3, 7, 8, 7, 5, 6, 2, 4, 8, 1, 3, 4, 5
1
2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment