ジャンプ先: 概要. 戻り値. 関連. フラグ. Python 例.
polyReduce([caching=boolean], [cachingReduce=boolean], [colorWeights=float], [compactness=float], [constructionHistory=boolean], [geomWeights=float], [invertVertexWeights=boolean], [keepBorder=boolean], [keepBorderWeight=float], [keepColorBorder=boolean], [keepColorBorderWeight=float], [keepCreaseEdge=boolean], [keepCreaseEdgeWeight=float], [keepFaceGroupBorder=boolean], [keepFaceGroupBorderWeight=float], [keepHardEdge=boolean], [keepHardEdgeWeight=float], [keepMapBorder=boolean], [keepMapBorderWeight=float], [keepOriginalVertices=boolean], [keepQuadsWeight=float], [name=string], [nodeState=int], [percentage=float], [preserveLocation=boolean], [preserveTopology=boolean], [replaceOriginal=boolean], [sharpness=float], [symmetryPlaneW=float], [symmetryPlaneX=float], [symmetryPlaneY=float], [symmetryPlaneZ=float], [symmetryTolerance=float], [termination=int], [triangleCount=int], [triangulate=boolean], [useVirtualSymmetry=int], [uvWeights=float], [version=int], [vertexCount=int], [vertexMapName=string], [vertexWeightCoefficient=float], [weightCoefficient=float])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
polyReduce は、取り消し可能、照会可能、および編集可能です。
メッシュの全体的な形状を保持しながら、ジオメトリを削減することによりポリゴン オブジェクトを簡略化します。polyReduce のアルゴリズムは Softimage から派生した新しいアルゴリズムを使用するように 2014 で変更されました。ただし、コマンドは下位互換性を保つためにまだ従来のアルゴリズムを既定で使用します。新しいアルゴリズムの方がジオメトリ機能の保持に優れているので、バージョン フラグを 1 に設定することをお勧めします。また、一部のフラグは特定のアルゴリズムにのみ適用され、これについては各フラグで説明されています。
| string | ノード名 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Common poly modifier operation flags | ||||||||||||
caching(cch)
|
boolean
|
|
||||||||||
|
||||||||||||
cachingReduce(cr)
|
boolean
|
|
||||||||||
|
||||||||||||
colorWeights(cwt)
|
float
|
|
||||||||||
|
||||||||||||
compactness(com)
|
float
|
|
||||||||||
|
||||||||||||
constructionHistory(ch)
|
boolean
|
|
||||||||||
|
||||||||||||
geomWeights(gwt)
|
float
|
|
||||||||||
|
||||||||||||
invertVertexWeights(iwt)
|
boolean
|
|
||||||||||
|
||||||||||||
keepBorder(kb)
|
boolean
|
|
||||||||||
|
||||||||||||
keepBorderWeight(kbw)
|
float
|
|
||||||||||
|
||||||||||||
keepColorBorder(kcb)
|
boolean
|
|
||||||||||
|
||||||||||||
keepColorBorderWeight(kcw)
|
float
|
|
||||||||||
|
||||||||||||
keepCreaseEdge(kce)
|
boolean
|
|
||||||||||
|
||||||||||||
keepCreaseEdgeWeight(cew)
|
float
|
|
||||||||||
|
||||||||||||
keepFaceGroupBorder(kfb)
|
boolean
|
|
||||||||||
|
||||||||||||
keepFaceGroupBorderWeight(kfw)
|
float
|
|
||||||||||
|
||||||||||||
keepHardEdge(khe)
|
boolean
|
|
||||||||||
|
||||||||||||
keepHardEdgeWeight(khw)
|
float
|
|
||||||||||
|
||||||||||||
keepMapBorder(kmb)
|
boolean
|
|
||||||||||
|
||||||||||||
keepMapBorderWeight(kmw)
|
float
|
|
||||||||||
|
||||||||||||
keepOriginalVertices(kev)
|
boolean
|
|
||||||||||
|
||||||||||||
keepQuadsWeight(kqw)
|
float
|
|
||||||||||
|
||||||||||||
name(n)
|
string
|
|
||||||||||
|
||||||||||||
nodeState(nds)
|
int
|
|
||||||||||
|
||||||||||||
percentage(p)
|
float
|
|
||||||||||
|
||||||||||||
preserveLocation(pl)
|
boolean
|
|
||||||||||
|
||||||||||||
preserveTopology(top)
|
boolean
|
|
||||||||||
|
||||||||||||
replaceOriginal(rpo)
|
boolean
|
|
||||||||||
|
||||||||||||
sharpness(shp)
|
float
|
|
||||||||||
|
||||||||||||
symmetryPlaneW(sw)
|
float
|
|
||||||||||
|
||||||||||||
symmetryPlaneX(sx)
|
float
|
|
||||||||||
|
||||||||||||
symmetryPlaneY(sy)
|
float
|
|
||||||||||
|
||||||||||||
symmetryPlaneZ(sz)
|
float
|
|
||||||||||
|
||||||||||||
symmetryTolerance(stl)
|
float
|
|
||||||||||
|
||||||||||||
termination(trm)
|
int
|
|
||||||||||
|
||||||||||||
triangleCount(tct)
|
int
|
|
||||||||||
|
||||||||||||
triangulate(t)
|
boolean
|
|
||||||||||
|
||||||||||||
useVirtualSymmetry(uvs)
|
int
|
|
||||||||||
|
||||||||||||
uvWeights(uwt)
|
float
|
|
||||||||||
|
||||||||||||
version(ver)
|
int
|
|
||||||||||
|
||||||||||||
vertexCount(vct)
|
int
|
|
||||||||||
|
||||||||||||
vertexMapName(vmp)
|
string
|
|
||||||||||
|
||||||||||||
vertexWeightCoefficient(vwc)
|
float
|
|
||||||||||
|
||||||||||||
weightCoefficient(wc)
|
float
|
|
||||||||||
|
||||||||||||
import maya.cmds as cmds cmds.polySphere( ver=1, n='plg' ) cmds.polyReduce( ver=1, p=35, 'plg.f[0:399]' )