[Bf-python] Re: Get faces from vertex (Roland Hess)
Roland Hess
rolandh at reed-witting.com
Mon Apr 5 13:19:13 CEST 2004
>getSharedVertices(list=None)
>getSharedVerticesExclude(list=None, list=None)
>getComplementaryVertices(Vertice = none)
>getFaceMembership(list = none)
>getConnectedFacesSharedEdge(face = )
>getConnectedFacesComplementaryFace(face = )
>getAllConnectedFaces(face = )
That's a good list of methods to make. You will still have to create
something that will index the mesh first, though, unless you want to
exhaustively search the mesh every time you call one of these. These
methods should most likely act on the information in the index, not
directly on the mesh. Now the real question for this whole problem
is: what is the best information structure for the index? Whatever it
is, it should probably be coded directly into the c source and given
a thin wrapper in Python. That way, future coders can use it
internally for all kinds of neat stuff (winged-edge modelling,
anyone?)
--
Roland Hess (harkyman)
Digital Prepress/Network Administrator
Reed & Witting Company
More information about the Bf-python
mailing list