ジャンプ先: 概要. 戻り値. 関連. フラグ. Python 例.
polyBevel3([angleTolerance=float], [autoFit=boolean], [caching=boolean], [chamfer=boolean], [constructionHistory=boolean], [depth=float], [fillNgons=boolean], [mergeVertexTolerance=linear], [mergeVertices=boolean], [miterAlong=int], [mitering=int], [miteringAngle=float], [name=string], [nodeState=int], [offset=linear], [offsetAsFraction=boolean], [roundness=float], [segments=int], [smoothingAngle=float], [uvAssignment=int], [worldSpace=boolean])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
polyBevel3 は、取り消し可能、照会可能、および編集可能です。
エッジをベベルします。| string | ノード名 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Common poly modifier operation flags | ||||||||||||
angleTolerance(at)
|
float
|
|
||||||||||
|
||||||||||||
autoFit(af)
|
boolean
|
|
||||||||||
|
||||||||||||
caching(cch)
|
boolean
|
|
||||||||||
|
||||||||||||
chamfer(c)
|
boolean
|
|
||||||||||
|
||||||||||||
constructionHistory(ch)
|
boolean
|
|
||||||||||
|
||||||||||||
depth(d)
|
float
|
|
||||||||||
|
||||||||||||
fillNgons(fn)
|
boolean
|
|
||||||||||
|
||||||||||||
mergeVertexTolerance(mvt)
|
linear
|
|
||||||||||
|
||||||||||||
mergeVertices(mv)
|
boolean
|
|
||||||||||
|
||||||||||||
miterAlong(mia)
|
int
|
|
||||||||||
|
||||||||||||
mitering(m)
|
int
|
|
||||||||||
|
||||||||||||
miteringAngle(ma)
|
float
|
|
||||||||||
|
||||||||||||
name(n)
|
string
|
|
||||||||||
|
||||||||||||
nodeState(nds)
|
int
|
|
||||||||||
|
||||||||||||
offset(o)
|
linear
|
|
||||||||||
|
||||||||||||
offsetAsFraction(oaf)
|
boolean
|
|
||||||||||
|
||||||||||||
roundness(r)
|
float
|
|
||||||||||
|
||||||||||||
segments(sg)
|
int
|
|
||||||||||
|
||||||||||||
smoothingAngle(sa)
|
float
|
|
||||||||||
|
||||||||||||
uvAssignment(ua)
|
int
|
|
||||||||||
|
||||||||||||
worldSpace(ws)
|
boolean
|
|
||||||||||
|
||||||||||||
import maya.cmds as cmds # Replace an edge by 1 face, the width of the new face is given by the offset value. cmds.polyCube( n='plg' ) cmds.polyBevel3( 'plg.e[7]', offset=0.2 ) cmds.delete( 'plg' ) # Replace an edge by 4 faces, the new faces are rounding a smooth angle. cmds.polyCube( n='plg' ) cmds.polyBevel3( 'plg.e[7]', segments=4, offset=0.4 ) cmds.delete( 'plg' ) # Replace an edge by 4 faces, the new faces are rounding an angle specified by the default value of roundness (i.e 0.5). cmds.polyCube( n='plg' ) cmds.polyBevel3( 'plg.e[7]', segments=4, autoFit=Flase ) cmds.delete( 'plg' )