you could get the position of all surrounding vertices and average them together to get the face center:
from operator import add center = reduce(add, arrMesh.getPoints()) / arrMesh.polygonVertexCount() - Ofer www.mrbroken.com On Wed, Jun 3, 2009 at 6:05 AM, Dimitry <[email protected]> wrote: > > Hi Chad, > thank you for you help! > I checked the docs, but i'm still confused: > i can get points(arrMesh.getPoint(i)) from vertexes, but the > normalvector calculated(i suppose) from middle of a meshFace, > so i need the middle point from meshface > like > arrMesh.getVertexNormal(i) > arrMesh.getVertexNormalCoordinate(i) > how it is possible? > > where i can download pymel documentation on my mac?to make possible > open it outline. > > Best! > Dimitry > > > --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/python_inside_maya -~----------~----~----~----~------~----~------~--~---
