initial blender mesh dumper

This commit is contained in:
Stephen M. McQuay 2012-03-20 20:45:34 -06:00
parent c2b7cfaf4b
commit 9521a11854

8
dump.py Normal file
View File

@ -0,0 +1,8 @@
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])