ジャンプ先: 概要. 戻り値. フラグ. Python 例.
revolve(
curve
, [autoCorrectNormal=boolean], [axis=[linear, linear, linear]], [axisChoice=int], [axisX=linear], [axisY=linear], [axisZ=linear], [bridge=boolean], [caching=boolean], [computePivotAndAxis=int], [constructionHistory=boolean], [degree=int], [endSweep=angle], [name=string], [nodeState=int], [object=boolean], [pivot=[linear, linear, linear]], [pivotX=linear], [pivotY=linear], [pivotZ=linear], [polygon=int], [radius=linear], [radiusAnchor=float], [range=boolean], [rebuild=boolean], [sections=int], [startSweep=angle], [tolerance=linear], [useLocalPivot=boolean], [useTolerance=boolean])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
revolve は、取り消し可能、照会可能、および編集可能です。
軸を中心に指定したプロファイル カーブを回転し、リボルブ サーフェスを作成します。カーブ、カーブオンサーフェス、サーフェス アイソパラム、トリム エッジをプロファイル カーブとして使用できます。| string[] | オブジェクト名とノード名 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
autoCorrectNormal(acn)
|
boolean
|
|
||||||||||
|
||||||||||||
axis(ax)
|
[linear, linear, linear]
|
|
||||||||||
|
||||||||||||
axisChoice(aco)
|
int
|
|
||||||||||
|
||||||||||||
axisX(axx)
|
linear
|
|
||||||||||
|
||||||||||||
axisY(axy)
|
linear
|
|
||||||||||
|
||||||||||||
axisZ(axz)
|
linear
|
|
||||||||||
|
||||||||||||
bridge(br)
|
boolean
|
|
||||||||||
|
||||||||||||
caching(cch)
|
boolean
|
|
||||||||||
|
||||||||||||
computePivotAndAxis(cpa)
|
int
|
|
||||||||||
|
||||||||||||
degree(d)
|
int
|
|
||||||||||
|
||||||||||||
endSweep(esw)
|
angle
|
|
||||||||||
|
||||||||||||
nodeState(nds)
|
int
|
|
||||||||||
|
||||||||||||
pivot(p)
|
[linear, linear, linear]
|
|
||||||||||
|
||||||||||||
pivotX(px)
|
linear
|
|
||||||||||
|
||||||||||||
pivotY(py)
|
linear
|
|
||||||||||
|
||||||||||||
pivotZ(pz)
|
linear
|
|
||||||||||
|
||||||||||||
radius(r)
|
linear
|
|
||||||||||
|
||||||||||||
radiusAnchor(ra)
|
float
|
|
||||||||||
|
||||||||||||
sections(s)
|
int
|
|
||||||||||
|
||||||||||||
startSweep(ssw)
|
angle
|
|
||||||||||
|
||||||||||||
tolerance(tol)
|
linear
|
|
||||||||||
|
||||||||||||
useTolerance(ut)
|
boolean
|
|
||||||||||
|
||||||||||||
| 共通のフラグ | ||||||||||||
constructionHistory(ch)
|
boolean
|
|
||||||||||
|
||||||||||||
name(n)
|
string
|
|
||||||||||
|
||||||||||||
object(o)
|
boolean
|
|
||||||||||
|
||||||||||||
polygon(po)
|
int
|
|
||||||||||
|
||||||||||||
range(rn)
|
boolean
|
|
||||||||||
|
||||||||||||
rebuild(rb)
|
boolean
|
|
||||||||||
|
||||||||||||
useLocalPivot(ulp)
|
boolean
|
|
||||||||||
|
||||||||||||
import maya.cmds as cmds # To revolve a curve about the X axis at the origin. The profile curve is # revolved by 360 degrees by default. cmds.revolve( 'curve1', ax=(1, 0, 0), p=(0, 0, 0) ) # To revolve a curve about the Y axis at 1,0,1: cmds.revolve( 'curve1', ax=(0, 1, 0), p=(1, 0, 1) )