This command creates a surface by blending between given curves. This is an enhancement (more user control) compared to blend which is now obsolete.
| Long name (short name) | Argument Types | Properties | |
|---|---|---|---|
| autoAnchor (aa) | bool |
|
|
|
|||
| autoNormal (an) | bool |
|
|
|
|||
| caching (cch) | bool |
|
|
|
|||
| constructionHistory (ch) | bool |
|
|
|
|||
| crvsInFirstRail (cfr) | int | ||
| flipLeftNormal (fln) | bool |
|
|
|
|||
| flipRightNormal (frn) | bool |
|
|
|
|||
| leftAnchor (la) | float |
|
|
|
|||
| leftEnd (le) | float |
|
|
|
|||
| leftStart (ls) | float |
|
|
|
|||
| multipleKnots (mk) | bool |
|
|
|
|||
| name (n) | unicode |
|
|
Sets the name of the newly-created node. If it contains namespace path, the new node will be created under the specified namespace; if the namespace does not exist, it will be created. |
|||
| nodeState (nds) | int |
|
|
|
|||
| object (o) | bool |
|
|
|
|||
| polygon (po) | int |
|
|
The value of this argument controls the type of the object created by this operation 0: nurbs surface1: polygon (use nurbsToPolygonsPref to set the parameters for the conversion)2: subdivision surface (use nurbsToSubdivPref to set the parameters for the conversion)3: Bezier surface4: subdivision surface solid (use nurbsToSubdivPref to set the parameters for the conversion)Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list. |
|||
| positionTolerance (pt) | float |
|
|
|
|||
| reverseLeft (rvl) | bool |
|
|
|
|||
| reverseRight (rvr) | bool |
|
|
|
|||
| rightAnchor (ra) | float |
|
|
|
|||
| rightEnd (re) | float |
|
|
|
|||
| rightStart (rs) | float |
|
|
|
|||
| tangentTolerance (tt) | float |
|
|
|
|||
Derived from mel command maya.cmds.blend2
Example:
import pymel.core as pm
# Do blend with auto normal and with no history:
pm.blend2( an=True, ch=False )
# Do blend without auto normal
pm.blend2( an=False, fln=True, frn=True )