Face Extrusion Examples

Example 1 import maya.cmds as cmds#create a polygonal sphere cmds.polySphere()#delete faces , from 160 to the end cmds.delete(‘pSphere1.f[160:]’)#extrude all remaining faces #extrusion distance 0.1# faces are pulled independently cmds.polyExtrudeFacet(‘pSphere1.f[:]’,kft=False, ltz=.1) Example 2 import maya.cmds as cmdscmds.polySphere() # extrude one face 20 times # for every extrusion we perform a rotation and a translation for i […]