Go to: Synopsis. Return value. Flags. Python examples.
filletCurve(
[curve] [curve]
, [bias=linear], [blendControl=boolean], [caching=boolean], [circular=boolean], [constructionHistory=boolean], [curveParameter1=float], [curveParameter2=float], [depth=linear], [freeformBlend=boolean], [name=string], [nodeState=int], [object=boolean], [radius=linear], [replaceOriginal=boolean])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
filletCurve is undoable, queryable, and editable.
The curve fillet command creates a fillet curve between two curves.
If no objects are specified in the command line, then the first two
active curves are used. The fillet created can be circular (with
a radius) or freeform (with a type of tangent or blend).
string[] | Object name and node name |
In query mode, return type is based on queried flag.
bias, blendControl, caching, circular, constructionHistory, curveParameter1, curveParameter2, depth, freeformBlend, name, nodeState, object, radius, replaceOriginal
Long name (short name) |
Argument types |
Properties |
|
bias(b)
|
linear
|
|
|
Adjusting the bias value causes the fillet curve to be skewed to one of the input curves. Available only if blendControl is true.
Default: 0.0
|
|
blendControl(bc)
|
boolean
|
|
|
If true then depth and bias can be controlled. Otherwise, depth and bias are not available options.
Default: false
|
|
circular(cir)
|
boolean
|
|
|
Curve fillet will be created as circular if true or freeform if false.
Default: true
|
|
curveParameter1(cp1)
|
float
|
|
|
Parameter where fillet curve will contact the primary input curve.
Default: 0.0
|
|
curveParameter2(cp2)
|
float
|
|
|
Parameter where fillet curve will contact the secondary input curve.
Default: 0.0
|
|
depth(d)
|
linear
|
|
|
Adjusts the depth of the fillet curve. Available only if blendControl is true.
Default: 0.5
|
|
freeformBlend(fb)
|
boolean
|
|
|
The freeform type is blend if true or tangent if false. Available if the fillet type is freeform.
Default: false
|
|
radius(r)
|
linear
|
|
|
The radius if creating a circular fillet.
Default: 1.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 have multiple arguments, passed either as a tuple or a list.
|
import maya.cmds as cmds
# Create a circular fillet (by default) having radius 2.5 between the
# active curves:
cmds.filletCurve( r=2.5 )
# Create a freeform curve fillet between the two specified curves at
# these parameter values:
cmds.filletCurve( 'curve1', 'curve2', cir=True, cp1=0.5, cp2=2.0 )