Go to: Synopsis. Return value. Related. Flags. MEL examples.
fitBspline [-caching boolean] [-constructionHistory boolean] [-name string] [-nodeState int] [-object boolean] [-tolerance linear]
fitBspline is undoable, queryable, and editable.
The fitBspline command fits the CVs from an input curve
and and returns a 3D curve.
string[] | Object name and node name |
In query mode, return type is based on queried flag.
rebuildCurve, smoothCurve
caching, constructionHistory, name, nodeState, object, tolerance
Long name (short name) |
Argument types |
Properties |
|
-tolerance(-tol)
|
linear
|
|
|
Tolerance for the fit. The resulting curve will be kept
within tolerance of the given points.
Default: 0.1
|
|
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.
|
|
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.
|
curve -d 1 -p 0.2662494 0 10.640916 -p -4.71138 0 7.070603
-p -7.849212 0 1.051444 -p -6.646792 0 -3.475301
-p -2.499369 0 -3.770414 -p 2.041102 0 -1.381914
-p 5.408074 0 3.095469 -k 0 -k 1 -k 2 -k 3 -k 4 -k 5 -k 6 ;
fitBspline -ch 1 -tol 0.01;