pymel.core.modeling.filletCurve¶
- filletCurve(*args, **kwargs)¶
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).
Flags:
Long Name / Short Name Argument Types Properties bias / b float 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 bool If true then depth and bias can be controlled. Otherwise, depth and bias are not available options. Default:false caching / cch bool Modifies the node caching mode. See the node documentation for more information. Note:For advanced users only. circular / cir bool Curve fillet will be created as circular if true or freeform if false. Default:true constructionHistory / ch bool Turn the construction history on or off. 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 float Adjusts the depth of the fillet curve. Available only if blendControl is true. Default:0.5 freeformBlend / fb bool The freeform type is blend if true or tangent if false. Available if the fillet type is freeform. Default:false frozen / fzn bool join / jn bool name / n unicode 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. nodeState / nds int Modifies the node state. See the node documentation for more information. Note:For advanced users only. Flag can have multiple arguments, passed either as a tuple or a list. object / o bool Create the result, or just the dependency node. radius / r float The radius if creating a circular fillet. Default:1.0 Common flags replaceOriginal / rpo bool Create in place(i.e., replace). Advanced flags trim / t bool Derived from mel command maya.cmds.filletCurve
Example:
import pymel.core as pm # 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 )