FORUMS: list search recent posts

extrude using python

COW Forums : Autodesk Maya

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Romano Pfefferkorn
extrude using python
on Jan 15, 2011 at 12:01:07 am

Hi I want to extrude something like this:

into something like this

using python.

I've tried to somewhat translate it into python using the documentation on the autodesk site but it will always extrude the to edges to the bottom-center of the mesh.

This is what my actions return in MEL
polyExtrudeFacet -constructionHistory 1 -keepFacesTogether 1 -pvx -0.8016535044 -pvy 0.4158545434 -pvz 0.2084145454 -divisions 1 -twist 0 -taper 1 -off 0 -smoothingAngle 30 nurbsToPoly6.f[0:629];
// Result: polyExtrudeFace6 //
setAttr "polyExtrudeFace6.localTranslate" -type double3 0 0 -0.0399007 ;


but how do I do exactly the same thing in pyton?


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]