diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-16 09:03:13 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-16 09:03:13 +0400 |
commit | ebec1116184275f594cf08417b04fa43fa554628 (patch) | |
tree | 6e971d90151d1db9bd2a026f10294375c967c4c1 /source/blender/bmesh/SConscript | |
parent | c6c0601d8ea410494b59081152f3cc080a8f39a3 (diff) |
bmesh py api:
Wrap customdata, so far you can access the data layers in a pythonic way but not manipulate the customdata yet.
provides dictionary like access to customdata layers, eg:
texpoly = bm.faces.tex["UVMap"]
print(bm.verts.shape.keys()) # un-intended pun, keys() works on all layers.
print("MyInt" in bm.edges.int) # __contains__
layer = bm.faces.get("CheckForLayer")
Diffstat (limited to 'source/blender/bmesh/SConscript')
0 files changed, 0 insertions, 0 deletions