[Bf-python] Mesh Module
Ken Hughes
khughes at pacific.edu
Tue Oct 4 17:59:34 CEST 2005
Campbell Barton wrote:
> Hi Ken, just messed with Mesh module..
> Its surprisingly easy to convert a script that uses NMesh.
:-)
> I noteced that you cant do len(face) (as you can with nmesh), that
> should be a bit faster then len(face.verts)?
> Since it dosent need to accsess the actual vert list
Willian and I (and Daniel, indirectly) have discussed this some; I
opted for only implementing interators for faces and edges instead of
also implementing sequences. (I don't know of another way offhand to
implement the len() operator). I'm still trying to figure out the best
way to handle sequence operators (assignments in particular) while still
keeping things "thin" and not messing up how meshes are referred to
elsewhere in Blender.
Ken
More information about the Bf-python
mailing list