pymel.core.modeling.freeFormFillet

freeFormFillet(*args, **kwargs)

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.

Flags:

Long Name / Short Name Argument Types Properties
bias / b float ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  Bias value for fillet Default:0.5
caching / cch bool ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  Modifies the node caching mode. See the node documentation for more information. Note:For advanced users only.
constructionHistory / ch bool ../../../_images/create.gif
  Turn the construction history on or off.
depth / d float ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  Depth value for fillet Default:0.5
frozen / fzn bool  
   
name / n unicode ../../../_images/create.gif
  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 ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  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 ../../../_images/create.gif
  Create the result, or just the dependency node.
polygon / po int ../../../_images/create.gif
  The value of this argument controls the type of the object created by this operation 0: nurbs surface1: polygon (use nurbsToPolygonsPref to set the parameters for the conversion)2: subdivision surface (use nurbsToSubdivPref to set the parameters for the conversion)3: Bezier surface4: subdivision surface solid (use nurbsToSubdivPref to set the parameters for the conversion)
positionTolerance / pt float ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  C(0) Tolerance For Filleted Surface creation Default:0.1
range / rn bool ../../../_images/create.gif
  Force a curve range on complete input curve. Advanced flags
tangentTolerance / tt float ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  G(1) continuity Tolerance For Filleted Surface creation Default:0.1 Common flags

Derived from mel command maya.cmds.freeFormFillet

Example:

import pymel.core as pm

# Create the fillet across a curve on surface and surface isoparm.
pm.nurbsPlane( ch=True, o=True, po=0, ax=(0, 1, 0), w=11, lr=1 )
# Result: [nt.Transform(u'nurbsPlane1'), nt.MakeNurbPlane(u'makeNurbPlane1')] #
pm.circle( ch=True, o=True, nr=(0, 1, 0), r=3.79518 )
# Result: [nt.Transform(u'nurbsCircle1'), nt.MakeNurbCircle(u'makeNurbCircle1')] #
pm.projectCurve( 'nurbsCircle1', 'nurbsPlane1', ch=False, rn=False, un=False, tol=0.01 )
# Result: [nt.CurveVarGroup(u'nurbsPlaneShape1->projectionCurve1')] #
pm.nurbsPlane( p=(0, 6, 0), ax=(0, 1, 0), w=11, lr=1 )
# Result: [nt.Transform(u'nurbsPlane2'), nt.MakeNurbPlane(u'makeNurbPlane2')] #
pm.freeFormFillet( 'nurbsPlaneShape1-"projectionCurve1_1', 'nurbsPlane2.v[1.0]', ch=True, bias=0.0, depth=0.5, po=True )
[u'freeformFilletSurface1', u'ffFilletSrf1']

pm.trim( 'nurbsPlaneShape1', 'projectionCurve1_Shape1', ch=True, o=True, rpo=True, lu=0.2, lv=0.2 )
[u'nurbsPlaneShape1', u'trim1']
# Fillet across a surface trim edge boundary and surface isoparm.
pm.freeFormFillet( 'nurbsPlane1.edge[1][1][4]', 'nurbsPlane2.v[0][0.0:0.6]', ch=False )
[u'freeformFilletSurface2']