If you don't feel like reading a bunch... in short I need to be able to find which components are adjacent to which, returning a matrix with accurate positions (relative to one another) of any size patch of polys
I've searched everywhere for this information but I guess I'm just not searching the right thing. If anyone has any links or more info it would me much appreciated. I need to be able to go through an entire poly-mesh and return a bunch of matrices of any size that shows sections of faces that all have four vertices and whose vertices all border four faces (so basically areas with no edge-loops). I've thought about the grow selection tool and pickwalk but pickwalk only works based on the screen and grow selection doesn't return anything... it just selects them, which selecting and deselecting that many things would probably blow up my computer. I am currently using the polyInfo and polyEvaluate commands to return each vert and which faces are connected to which verts and which verts are connected to which faces. Then I build a matrix with a bunch of for-loops which slowly figures out which are connected and tests for the right conditions... it is working so far but I really don't feel like doing it this way (since it just seems like there has to be a better way) and am afraid that processing ten or so nested for loops with each vert in a mesh might be a bit intensive. I'm somewhat comfortable with using the API... I just couldn't find what I was looking for in the documentation. --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/python_inside_maya -~----------~----~----~----~------~----~------~--~---
