ジャンプ先: 概要. 戻り値. 関連. フラグ. Python 例.
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])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
freeFormFillet は、取り消し可能、照会可能、および編集可能です。
2 つのサーフェス トリム エッジ、アイソパラム、またはカーブ オンサーフェスの間にフリーフォームのサーフェス フィレットを作成します。フィレット サーフェス作成では、バイアスと深度としてブレンド コントロールが備わります。バイアス値は、2 つの選択したカーブの 2 つの端の接線をスケールします。深度値は選択した 2 つのカーブのフィレットの曲率をコントロールします。深度およびバイアスの既定値はそれぞれ 0.5 です。
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
circularFillet
bias, caching, constructionHistory, depth, name, nodeState, object, polygon, positionTolerance, range, tangentTolerance
フラグはコマンドの作成モードで表示できます
|
フラグはコマンドの編集モードで表示できます
|
フラグはコマンドの照会モードで表示できます
|
フラグに複数の引数を指定し、タプルまたはリストとして渡すことができます。
|
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'] #