Hi All,

This is a first pass at exposing BMesh walkers in the Py API. This is only
a proof of concept and is quite fragile, with little error checking. It
also only works for one walker type right now. One issue I can't seem to
fix is returning the BPy_BMFace instead of just the index. The code is
there but it crashes. Walkers can be accessed through, bmesh.walkers.new()
and parsing a face as the argument. An iterator is returned. Any thoughts
are appreciated.

http://www.pasteall.org/32993/diff

Here's a demo blend you can use, just run the script and look at the face
indices printed to the console.

http://www.pasteall.org/blend/14564

Cheers,
Andrew
_______________________________________________
Bf-python mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-python

Reply via email to