You're probably looking for one of the MFnMesh::create functions.

On Apr 20, 6:47 pm, Benjamin Golder <[email protected]>
wrote:
> I would like to create a triangulated mesh-like object in Maya using
> PyMEL.
> Which command should I use to create a new polygon object from
> scratch?
> I have a list of coordinates tuples, with a (x,y,z) tuple for each
> point.
> I also have a list of index tuples for each triangular face I want to
> make, as a (0,1,2) tuple, which refer to the indicies in the list of
> coordinates.
> I see that there is a command for appending polygon faces, but how do
> I create the first face?
>
> Thank you
> -Ben

-- 
http://groups.google.com/group/python_inside_maya

Reply via email to