Go to: Synopsis. Return value. Related. Flags. Python examples.
freeFormFillet(
[surfaceIsoparm] [surfaceIsoparm]
, [bias=float], [caching=boolean], [constructionHistory=boolean], [depth=float], [name=string], [nodeState=int], [object=boolean], [polygon=int], [positionTolerance=float], [range=boolean], [tangentTolerance=float])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
freeFormFillet is undoable, queryable, and editable.
This command creates a free form surface fillet across two surface
trim edges or isoparms or curve on surface. The fillet surface
creation has blend controls in the form of bias and depth. The bias
value scales the tangents at the two ends across the two selected
curves. The depth values controls the curvature of the fillet across
the two selected curves. The default values of depth, bias are 0.5
and 0.5 respectively.
string[] | Object name and node name |
In query mode, return type is based on queried flag.
circularFillet
bias, caching, constructionHistory, depth, name, nodeState, object, polygon, positionTolerance, range, tangentTolerance
Long name (short name) |
Argument types |
Properties |
|
bias(b)
|
float
|
|
|
Bias value for fillet
Default: 0.5
|
|
depth(d)
|
float
|
|
|
Depth value for fillet
Default: 0.5
|
|
positionTolerance(pt)
|
float
|
|
|
C(0) Tolerance For Filleted Surface creation
Default: 0.1
|
|
tangentTolerance(tt)
|
float
|
|
|
G(1) continuity Tolerance For Filleted Surface creation
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.
|
|
polygon(po)
|
int
|
|
|
The value of this argument controls the type of the object
created by this operation
- 0: nurbs surface
- 1: polygon (use nurbsToPolygonsPref to set the parameters for the conversion)
- 2: subdivision surface (use nurbsToSubdivPref to set the parameters for the conversion)
- 3: Bezier surface
- 4: subdivision surface solid (use nurbsToSubdivPref to set the
parameters for the conversion)
|
|
range(rn)
|
boolean
|
|
|
Force a curve range on complete input curve.
|
|
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 the fillet across a curve on surface and surface isoparm.
cmds.nurbsPlane( ch=True, o=True, po=0, ax=(0, 1, 0), w=11, lr=1 )
cmds.circle( ch=True, o=True, nr=(0, 1, 0), r=3.79518 )
cmds.projectCurve( 'nurbsCircle1', 'nurbsPlane1', ch=False, rn=False, un=False, tol=0.01 )
# Result: [u'nurbsPlane1->projectionCurve1'] #
cmds.nurbsPlane( p=(0, 6, 0), ax=(0, 1, 0), w=11, lr=1 )
# Result: [u'nurbsPlane2', u'makeNurbPlane2'] #
cmds.freeFormFillet( 'nurbsPlaneShape1->projectionCurve1_1', 'nurbsPlane2.v[1.0]', ch=True, bias=0.0, depth=0.5, po=True )
# Result: [u'freeformFilletSurface1', u'ffFilletSrf1'] #
cmds.trim( 'nurbsPlaneShape1', 'projectionCurve1_Shape1', ch=True, o=True, rpo=True, lu=0.2, lv=0.2 )
# Result: [u'nurbsPlaneShape1', u'trim1'] #
# Fillet across a surface trim edge boundary and surface isoparm.
cmds.freeFormFillet( 'nurbsPlane1.edge[1][1][4]', 'nurbsPlane2.v[0][0.0:0.6]', ch=False )
# Result: [u'freeformFilletSurface2'] #