Hello

You have many options for extruding your face.
first:
using polyExtrudeFacet command based on faces you want to extrude

from maya import cmds
cmds.polyPlane(n="plane")
cmds.polyExtrudeFacet('plane.f[71:72]', ltz=0.2)

second:
using polyExtrudeFace[number of extrude node]:
and changing the attribute of related extrude node

from maya import cmds
cmds.polyPlane(n="plane")
cmds.polyExtrudeFacet('plane.f[71:72]')
cmds.setAttr("polyExtrudeFace1.thickness", 0.2)

i hope it helps
​

On Fri, Nov 13, 2015 at 8:32 PM, <[email protected]> wrote:

> Hi,
>
> im trying to use the polyExtrudeFacet python command. all i want to do is
> create a thickness of 0.1 on my object. However i can only find the guide
> for the 2010 version of maya for python. there doesnt seem to be a
> 'thickness' option there.
>
> dos anyone know how to use the polyExtrudeFacet command with the thickness
> flag?
>
> thanks,
> Sam
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/93e4a6a3-ac49-40f0-b8a5-34418c710b17%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 


Bests,
madoodia

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CADvbQwKnTfg688LFg%2BjemCtHp9WwyiK_Y6JSrE4ARjHBSz3kLw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to