cmds.polyExtrudeFacet thickness feature

59 views
Skip to first unread message

e955...@gmail.com

unread,
Nov 13, 2015, 12:02:49 PM11/13/15
to Python Programming for Autodesk Maya
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

Mahmoodreza Aarabi

unread,
Nov 13, 2015, 12:31:03 PM11/13/15
to python_in...@googlegroups.com

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



--
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 python_inside_m...@googlegroups.com.
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

e955...@gmail.com

unread,
Nov 14, 2015, 9:35:12 AM11/14/15
to Python Programming for Autodesk Maya
cool thanks so much madoodia

Mahmoodreza Aarabi

unread,
Nov 14, 2015, 9:42:26 AM11/14/15
to python_in...@googlegroups.com
Good luck!
:)

On Sat, Nov 14, 2015 at 6:05 PM, <e955...@gmail.com> wrote:
cool thanks so much 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 python_inside_m...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--


Bests,
madoodia
Reply all
Reply to author
Forward
0 new messages