surfaces/dump.py

9 lines
249 B
Python
Raw Normal View History

2012-03-20 19:45:34 -07:00
import bpy
m = bpy.data.meshes['Cube']
print("verts:", [list(v.co) for v in m.vertices])
print("faces:", [list(f.vertices) for f in m.faces])
print("edge keys:", [f.edge_keys for f in m.faces])
print("edges:", [list(e.vertices) for e in m.edges])