polySmooth is undoable, queryable, and editable.
Smooth a polygonal object. This command works on polygonal objects
or faces.
In query mode, return type is based on queried flag.
Long name (short name) |
Argument types |
Properties |
-continuity(-c) |
float |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
This flag specifies the smoothness parameter. The minimum value
of 0.0 specifies that the faces should only be subdivided. Maximum
value of 1.0 smooths the faces as much as possible.
C: Default is 1.0
Q: When queried, this flag returns a float. |
|
-divisions(-dv) |
int |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
This flag specifies the number of recursive smoothing
steps.
C: Default is 1.
Q: When queried, this flag returns an int. |
|
-keepBorder(-kb) |
boolean |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
If on, the border of the object will not move during smoothing
operation.
C: Default is "on".
Q: When queried, this flag returns an int. |
|
-keepSelectionBorder(-ksb) |
boolean |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
If true, vertices on border of the selection will not be
modified.
C: Default is false.
Q: When queried, this flag returns a boolean. |
|
-keepHardEdge(-khe) |
boolean |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
If true, vertices on hard edges will not be modified.
C: Default is false.
Q: When queried, this flag returns a boolean. |
|
-propagateEdgeHardness(-peh) |
boolean |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
If true, edges which are a result of smoothed edges will be
given the same value for their edge hardness. New subdivided edges
will always be smooth.
C: Default is false.
Q: When queried, this flag returns a boolean. |
|
-keepTessellation(-kt) |
boolean |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
If true, the object will be tessellated consistently at each
frame. If false, non-starlike faces will be triangulated before
being subdivided, to avoid self-overlapping faces.
C: Default is true.
Q: When queried, this flag returns a boolean. Common
flags |
|
Common flags |
-name(-n) |
string |
![create create](../gfx/create.gif) |
|
Give a name to the resulting node. |
|
-constructionHistory(-ch) |
boolean |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) |
|
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. |
|
-caching(-cch) |
boolean |
![create create](../gfx/create.gif) ![edit edit](../gfx/edit.gif) |
|
Toggle caching for all attributes so that no recomputation is
needed |
|
-nodeState(-nds) |
int |
![create create](../gfx/create.gif) ![query query](../gfx/query.gif) ![edit edit](../gfx/edit.gif) |
|
Defines how to evaluate the node.
- 0: Normal
- 1: PassThrough
- 2: Blocking
- 3: Internally disabled. Will return to Normal state when
enabled
- 4: Internally disabled. Will return to PassThrough state when
enabled
- 5: Internally disabled. Will return to Blocking state when
enabled
|
|