what do you mean "x/y values for pSphere1 faces"? where is the 'z' coordinate? is that for the center of the face or each of the vertices of that face?
maybe you could state the context of this problem? From: [email protected] [mailto:[email protected]] On Behalf Of Jon Mills Sent: Friday, April 30, 2010 3:31 AM To: [email protected] Subject: Re: [Maya-Python] repeat code? vertList1 is the y values of pSphere1 faces vertList2 is the x values of pSphere1 faces ok im trying to match up faces which have the same vertices, so say from a sphere pSphere1[0], y1, y2 and pSphere1[20], x1, x2 are the same verts then using the dot product of pSphere1[0] and pSphere1[20] ill be finding the difference pSphere1[0] - pSphere1[20] hope this helps -- http://groups.google.com/group/python_inside_maya -- http://groups.google.com/group/python_inside_maya
