[Bf-python] Should EditFace object have v1, v2, v3, v4 members?
joeedh
joeeagar at prodigy.net
Sat Oct 9 05:29:02 CEST 2004
Hi. Recently I've run into a problem with EditFaces. Internally, their
verts are stored as v1, v2, v3, and v4 members of the EditFace structure.
Putting the (EMesh_)EditVerts into a list (like NMesh) for each face is
easy, but the problem is if you want to modify it. For example, add new
verts or subtract verts or whatever.
There is the possibiliy of extending (EMesh_)EditFace to support the
subscript operator and return values based on that. . .cool. . .just
thought of that while writing this email. So you would access a face like:
f = faces[0]
And it's verts like:
v1 = f[0]
What do you think?
joeedh
More information about the Bf-python
mailing list