ジャンプ先: 概要. 戻り値. フラグ. MEL 例.

概要

deformableShape [-chain] [-chainHistory] [-createOriginalGeometry] [-createTweakNode] [-createUpstreamTagInjectionNode] [-deformShapeInAttr] [-deformShapeOutAttr] [-frontOfChain] [-localShapeInAttr] [-localShapeOutAttr] [-nodeChain] [-originalGeometry] [-outputPlugChain] [-plugChain] [-supportsComponentTags] [-tagInjectionList] [-tagInjectionNode] [-tweakAttr] [-tweakNode] [-upstreamTagInjectionNode] [-worldShapeOutAttr] [objects...]

deformableShape は、取り消し可能、照会不可能、および編集不可能です。

このコマンドはシェイプの変形に関する情報を検索します。

コマンドにシェイプが何も指定されていない場合は、現在選択されているシェイプが使用されます。

戻り値

なし

フラグ

chain, chainHistory, createOriginalGeometry, createTweakNode, createUpstreamTagInjectionNode, deformShapeInAttr, deformShapeOutAttr, frontOfChain, localShapeInAttr, localShapeOutAttr, nodeChain, originalGeometry, outputPlugChain, plugChain, supportsComponentTags, tagInjectionList, tagInjectionNode, tweakAttr, tweakNode, upstreamTagInjectionNode, worldShapeOutAttr
ロング ネーム(ショート ネーム) 引数タイプ プロパティ
-chain(-ch) create
このフラグは、指定したシェイプを変形するデフォーマのリストを返します。
-chainHistory(-his) create
このフラグは、ノード チェーンの詳細な説明をディクショナリの形式で返します。これは、Python コマンドとして使用する場合にのみ便利です。
-createOriginalGeometry(-cog) create
このシェイプの元のジオメトリがまだ存在しない場合は、作成します。
-createTweakNode(-ctw) create
これにより、従来の微調整ノードがまだ存在しない場合は、作成されます。
-createUpstreamTagInjectionNode(-cti) create
これにより、編集可能なノードがまだ存在しない場合は、上流コンポーネント タグの射出ノードが作成されます。
-deformShapeInAttr(-dsi) create
変形シェイプの入力アトリビュートの名前を返します。
-deformShapeOutAttr(-dso) create
変形シェイプの出力アトリビュートの名前を返します。
-frontOfChain(-foc) create
このフラグは、デフォメーション チェーンのフロント エンドにあるシェイプ ノードのプラグ名前を返します。何も存在しない場合は、空のプラグを返します。
-localShapeInAttr(-lsi) create
ローカル シェイプの入力アトリビュートの名前を返します。
-localShapeOutAttr(-lso) create
ローカル シェイプの出力アトリビュートの名前を返します。
-nodeChain(-nch) create
このフラグは、ジオメトリがこのシェイプに到達するために通過するノードのリストを返します。
-originalGeometry(-og) create
このフラグは、originalGeometry として使用するのに最適なデフォメーション チェーン内のノード(通常はフロント エンドのノード)のプラグ名を返します。何も存在しない場合は、空のプラグを返します。
-outputPlugChain(-och) create
このフラグは、シェイプに接続されている出力プラグのリストを返します。
-plugChain(-pch) create
このフラグは、シェイプ(入力と出力の両方のプラグ)に接続されているプラグのリストを返します。
-supportsComponentTags(-sct) create
シェイプがコンポーネント タグをサポートするかどうかを返します
-tagInjectionList(-til) create
このフラグは、非手続き型の componentTag 射出ノードのリストを返します。
-tagInjectionNode(-ti) create
このフラグは、デフォメーション チェーンのできるだけ上位にある、参照されていないコンポーネント タグの射出ノード名を返します。入力シェイプと同じにするか、何も存在しない場合は空の文字列にすることもできます。
-tweakAttr(-twa) create
シェイプに対する微調整を保持するアトリビュートの名前を返します
-tweakNode(-tw) create
このフラグは、デフォメーション チェーン内の微調整ノードの名前を返します。何も存在しない場合は、空の文字列を返します。
-upstreamTagInjectionNode(-uti) create
このフラグは、入力シェイプの上流(ただし、最上流は含まない)にある、参照されていないコンポーネント タグの射出ノード名を返します。何も存在しない場合は、空の文字列を返します。何も存在しない場合は、cti/createUpstreamTagInjectionNode フラグを使用して作成できます。
-worldShapeOutAttr(-wso) create
ワールド シェイプの出力アトリビュートの名前を返します。

フラグはコマンドの作成モードで表示できます フラグはコマンドの編集モードで表示できます
フラグはコマンドの照会モードで表示できます コマンド内でフラグを複数回使用できます。

MEL 例

    // Create an original geometry if it does not exist
    deformableShape ball -cog

    polyCylinder -r 1 -h 6 -sx 4 -sy 5 -sz 1 -name myGeo;
    select myGeo.vtx[12:23] myGeo.vtx[25];
    string $clusterList[]=`cluster`;
    move -absolute 1.0 0 0 $clusterList[1];

    // Get the node chain leading up to the shape
    deformableShape -nch myGeoShape;
    // Result: polyCylinder1 myGeoShapeOrig groupParts2 tweak1 cluster1GroupParts cluster1 myGeoShape //

    // Get the deformer chain leading up to the shape
    deformableShape -ch myGeoShape;
    // Result: tweak1 cluster1 //

    // Get the plug chain leading up to the shape
    deformableShape -pch myGeoShape;
    // Result: polyCylinder1.output myGeoShapeOrig.inMesh myGeoShapeOrig.worldMesh[0] groupParts2.inputGeometry groupParts2.outputGeometry tweak1.input[0].inputGeometry tweak1.outputGeometry[0] cluster1GroupParts.inputGeometry cluster1GroupParts.outputGeometry cluster1.input[0].inputGeometry cluster1.outputGeometry[0] myGeoShape.inMesh //

    // Get the output plug chain leading up to the cluster
    deformableShape -och myGeoShape;
    // Result: polyCylinder1.output myGeoShapeOrig.worldMesh[0] groupParts2.outputGeometry tweak1.outputGeometry[0] cluster1GroupParts.outputGeometry cluster1.outputGeometry[0] //