Go to: Synopsis. Return value. Flags. Python examples.

Synopsis

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).

Return value

string[]Object name and node name

In query mode, return type is based on queried flag.

Flags

bias, blendControl, caching, circular, constructionHistory, curveParameter1, curveParameter2, depth, freeformBlend, name, nodeState, object, radius, replaceOriginal
Long name (short name) Argument types Properties
radius(r) linear createqueryedit
The radius if creating a circular fillet.
Default: 1.0
depth(d) linear createqueryedit
Adjusts the depth of the fillet curve. Available only if blendControl is true.
Default: 0.5
bias(b) linear createqueryedit
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
curveParameter1(cp1) float createqueryedit
Parameter where fillet curve will contact the primary input curve.
Default: 0.0
curveParameter2(cp2) float createqueryedit
Parameter where fillet curve will contact the secondary input curve.
Default: 0.0
circular(cir) boolean createqueryedit
Curve fillet will be created as circular if true or freeform if false.
Default: true
freeformBlend(fb) boolean createqueryedit
The freeform type is blend if true or tangent if false. Available if the fillet type is freeform.
Default: false
blendControl(bc) boolean createqueryedit
If true then depth and bias can be controlled. Otherwise, depth and bias are not available options.
Default: false
Advanced flags
caching(cch) boolean createqueryedit
Modifies the node caching mode. See the node documentation for more information.
Note: For advanced users only.
nodeState(nds) int createqueryedit
Modifies the node state. See the node documentation for more information.
Note: For advanced users only.
Common flags
name(n) string create
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.
constructionHistory(ch) boolean create
Turn the construction history on or off
object(o) boolean create
Create the result, or just the dependency node
replaceOriginal(rpo) boolean create
Create "in place" (i.e., replace)

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.

Python examples

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 )