This command computes a planar trimmed surface given planar boundary curves that form a closed region.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
caching (cch) | bool | ||
|
|||
constructionHistory (ch) | bool | ||
|
|||
degree (d) | int | ||
|
|||
keepOutside (ko) | bool | ||
|
|||
name (n) | unicode | ||
|
|||
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) |
|||
range (rn) | bool | ||
|
|||
tolerance (tol) | float | ||
|
Derived from mel command maya.cmds.planarSrf
Example:
import pymel.core as pm
# create linear planar trimmed surface given boundary curve(s)
pm.planarSrf( d=1 )
# use boundary curve(s) to create a hole by
# keeping the outside trimmed regions
pm.planarSrf( ko=True)