surfaces/dump.py
2012-03-20 20:45:34 -06:00

9 lines
249 B
Python

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])