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).
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
bias (b) | float | ||
|
|||
blendControl (bc) | bool | ||
|
|||
caching (cch) | bool | ||
|
|||
circular (cir) | bool | ||
|
|||
constructionHistory (ch) | bool | ||
|
|||
curveParameter1 (cp1) | float | ||
|
|||
curveParameter2 (cp2) | float | ||
|
|||
depth (d) | float | ||
|
|||
freeformBlend (fb) | bool | ||
|
|||
join (jn) | bool | ||
name (n) | unicode | ||
|
|||
nodeState (nds) | int | ||
|
|||
object (o) | bool | ||
|
|||
radius (r) | float | ||
|
|||
replaceOriginal (rpo) | bool | ||
|
|||
trim (t) | bool | ||
Derived from mel command maya.cmds.filletCurve
Example:
import pymel.core as pm
import maya.cmds as cmds
# Create a circular fillet (by default) having radius 2.5 between the
# active curves:
pm.filletCurve( r=2.5 )
# Create a freeform curve fillet between the two specified curves at
# these parameter values:
pm.filletCurve( 'curve1', 'curve2', cir=True, cp1=0.5, cp2=2.0 )