The polyPipe command creates a new polygonal pipe.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
axis (ax) | float, float, float | ||
|
|||
caching (cch) | bool | ||
constructionHistory (ch) | bool | ||
Turn the construction history on or off (where applicable). If construction history is on then the corresponding node will be inserted into the history chain for the mesh. If construction history is off then the operation will be performed directly on the object. Note:If the object already has construction history then this flag is ignored and the node will always be inserted into the history chain. Flag can have multiple arguments, passed either as a tuple or a list. |
|||
createUVs (cuv) | bool | ||
|
|||
height (h) | float | ||
|
|||
name (n) | unicode | ||
|
|||
nodeState (nds) | int | ||
object (o) | bool | ||
|
|||
radius (r) | float | ||
|
|||
roundCap (rcp) | bool | ||
subdivisionsAxis (sa) | int | ||
subdivisionsCaps (sc) | int | ||
|
|||
subdivisionsHeight (sh) | int | ||
|
|||
texture (tx) | bool | ||
|
|||
thickness (t) | float | ||
|
Derived from mel command maya.cmds.polyPipe
Example:
import pymel.core as pm
# Create a pipe with height 20 radius 1.0 thickness 0.5 with
# 10 subdivisions along height
pm.polyPipe( sh=10, h=20 )
# Create a pipe, called "myPipe", on thickness cap there are 5
# subdivisions.
pm.polyPipe( n='myPipe', sc=5);