You create a class derived from MPxNode, compute an output attribute which
can be connected to some geometry, say inMesh of a mesh. Use
MFnMesh.create() to get the MObject of the geo you want to create, sent to
MFnMeshData to set the attribute.

ShellNode is enough for this.

zhang

On Sun, Jul 1, 2012 at 1:09 AM, anim8err <[email protected]> wrote:

> Can anyone point me to a tutorial or documentation on writing a python
> shape node (MPxSurfaceShape)  in maya?
>
> There are a few examples plugins but I really can't tell from them how
> they work. Do I create my geometry/vertices in def geometry(self)?
>
>
> Any help would be greatly appreciated.
>
> a8r
>
> --
> view archives: http://groups.google.com/group/python_inside_maya
> change your subscription settings:
> http://groups.google.com/group/python_inside_maya/subscribe
>

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to