regarding maya.cmds - generally yes, the functions in that module accept
strings, lists of strings, numbers, and lists of numbers. Generally anything
that has a MEL counterpart, which excludes dictionaries,
non-homogeneous lists, and higher level object types.
Regarding the torus - do you mean getting the normal for each face in the
torus? please elaborate if you can



- Ofer
www.mrbroken.com


On Thu, May 28, 2009 at 12:18 AM, Dimitry <[email protected]> wrote:

>
> hey Gurus,
> can anyone help me please?
> I need it realy
> Best!
> Dima
>
> On May 27, 6:16 pm, Dimitry <[email protected]> wrote:
> > Hi All!
> >
> > I'm new in python scripting in maya, and I have two different
> > question:
> >
> > 1. are maya.cmds based on strings?
> > 2. if I create torus
> >
> > import maya.cmds as mc
> > radiL=0.07/2
> > radi=1
> > radi=(radi+radiL)*1.102#r=1
> > tori=mc.polyTorus( ax=[0,0,1], sx=8, sy=10, r=radi, sr=radiL)
> >
> > how it is possible to get normal vectors from each mesh?
> >
> > All the Best!
> > Dima
> >
>

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

Reply via email to