Go to: Synopsis. Return value. Related. Flags. MEL examples.
smoothCurve [-caching boolean] [-constructionHistory boolean] [-name string] [-nodeState int] [-object boolean] [-replaceOriginal boolean] [-smoothness float]
selectionList
smoothCurve is undoable, queryable, and editable.
The smooth command smooths the curve at the given control points.
string[] | Object name and node name |
In query mode, return type is based on queried flag.
fitBspline, rebuildCurve
caching, constructionHistory, name, nodeState, object, replaceOriginal, smoothness
Long name (short name) |
Argument types |
Properties |
|
-smoothness(-s)
|
float
|
|
|
smoothness factor
Default: 10.0
|
|
Common flags |
-constructionHistory(-ch)
|
boolean
|
|
|
Turn the construction history on or off.
|
|
-name(-n)
|
string
|
|
|
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.
|
|
-object(-o)
|
boolean
|
|
|
Create the result, or just the dependency node.
|
|
-replaceOriginal(-rpo)
|
boolean
|
|
|
Create "in place" (i.e., replace).
|
|
Advanced flags |
-caching(-cch)
|
boolean
|
|
|
Modifies the node caching mode. See the node documentation for more information.
Note: For advanced users only.
|
|
-nodeState(-nds)
|
int
|
|
|
Modifies the node state. See the node documentation for more information.
Note: For advanced users only.
|
|
Flag can appear in Create mode of command
|
Flag can appear in Edit mode of command
|
Flag can appear in Query mode of command
|
Flag can be used more than once in a command.
|
//Create a curve, then smooth it
curve -p 0 0 0 -p 3 5 6 -p 5 6 7 -p 9 9 9 -n "curve1";
smoothCurve -s 10 "curve1.cv[*]";