ジャンプ先: 概要. 戻り値. 関連. フラグ. Python 例.
doubleProfileBirailSurface(
curve curve curve curve
, [blendFactor=float], [caching=boolean], [constructionHistory=boolean], [name=string], [nodeState=int], [object=boolean], [polygon=int], [tangentContinuityProfile1=boolean], [tangentContinuityProfile2=boolean], [transformMode=int])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
doubleProfileBirailSurface は、取り消し可能、照会可能、および編集可能です。
引数は、「profile1」、「profile2」、「rail1」、「rail2」という名前の 4 つのカーブです。
指定したレイルカーブ「rail1」と「rail2」にそって「profile2」に達するまで、プロファイル「profile1」をスイープしてレイル サーフェスが作成されます。-blend コントロールを使用すると、レイル サーフェス作成は、2 つのプロファイル カーブのどちらかに偏ります。カーブ(プロファイル カーブとレイル カーブの両方)は、サーフェス カーブ(アイソパラム、カーブ オンサーフェス)にすることもできます。プロファイル カーブがサーフェス カーブである場合は、-tp1 フラグか -tp2 フラグを使用すると、作成されるサーフェスでは、プロファイルを基礎とするサーフェスの接線連続性が作成されます。現在の制限事項: 2 つのプロファイル カーブがレイル カーブと交差しないと、サーフェス作成に問題が発生します。
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
multiProfileBirailSurface, singleProfileBirailSurface
blendFactor, caching, constructionHistory, name, nodeState, object, polygon, tangentContinuityProfile1, tangentContinuityProfile2, transformMode
フラグはコマンドの作成モードで表示できます
|
フラグはコマンドの編集モードで表示できます
|
フラグはコマンドの照会モードで表示できます
|
フラグに複数の引数を指定し、タプルまたはリストとして渡すことができます。
|
import maya.cmds as cmds
cmds.doubleProfileBirailSurface( 'curve1', 'curve2', 'curve3', 'curve4', bl=0.5 )
# Tangent continuous birail surface across the two profiles.
cmds.doubleProfileBirailSurface( 'surface1.u[0.5]', 'surface2.v[0.2]', 'curve1', 'curve2', bl=1.0, tp1=True, tp2=True )