ジャンプ先: 概要. 戻り値. フラグ. Python 例.
planarSrf(
objects
, [caching=boolean], [constructionHistory=boolean], [degree=int], [keepOutside=boolean], [name=string], [nodeState=int], [object=boolean], [polygon=int], [range=boolean], [tolerance=linear])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
planarSrf は、取り消し可能、照会可能、および編集可能です。
閉じた領域を形成する平面境界カーブから平面トリム カーブを計算します。| string[] | オブジェクト名とノード名 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
caching(cch)
|
boolean
|
|
||||||||||
|
||||||||||||
degree(d)
|
int
|
|
||||||||||
|
||||||||||||
keepOutside(ko)
|
boolean
|
|
||||||||||
|
||||||||||||
nodeState(nds)
|
int
|
|
||||||||||
|
||||||||||||
tolerance(tol)
|
linear
|
|
||||||||||
|
||||||||||||
| 共通のフラグ | ||||||||||||
constructionHistory(ch)
|
boolean
|
|
||||||||||
|
||||||||||||
name(n)
|
string
|
|
||||||||||
|
||||||||||||
object(o)
|
boolean
|
|
||||||||||
|
||||||||||||
polygon(po)
|
int
|
|
||||||||||
|
||||||||||||
range(rn)
|
boolean
|
|
||||||||||
|
||||||||||||
import maya.cmds as cmds # create linear planar trimmed surface given boundary curve(s) cmds.planarSrf( d=1 ) # use boundary curve(s) to create a hole by # keeping the outside trimmed regions cmds.planarSrf( ko=True)