移動先: 概要 戻り値 フラグ. MEL 例.

概要

curveEditorCtx [-direction int] [-relativeTangentSize float] [-title string]

curveEditorCtx は 「元に戻す」が可能、「照会」が可能、「編集」が可能 です。

curveEditorCtx コマンドを使うと、NURBS カーブや NURBS サーフェスの編集に使用する新しい NURBS エディタ コンテキストが作成されます。

戻り値

string(新しいコンテキストの名前)

戻り値の型は照会モードでは照会フラグが基になります。

フラグ

direction, relativeTangentSize, title
ロング ネーム(ショート ネーム) 引数型 プロパティ
-title(-t) string queryedit
ツールのタイトルです。
-direction(-dir) int query
接線コントロールの現在の方向を照会します。カーブの場合は常に 0 です。サーフェスの場合、法線方向は 0、U 方向は 1、V 方向は 2 です。
-relativeTangentSize(-rts) float createqueryedit
接線マニピュレータ ハンドルの相対的なサイズです。サーフェスのシェイプをそのまま残すにもかかわらず、サーフェスのパラメータ配置コントロールとして接線サイズの調整に役立ちます。 デフォルトは 4 です。

: コマンドの作成モードで使用可能なフラグ : コマンドの編集モードで使用可能なフラグ
: コマンドの照会モードで使用可能なフラグ : 1 つのコマンドで複数回使用可能なフラグ

MEL 例

// Create a curve
curve -p 0 0 0 -p 3 5 6 -p 5 6 7 -p 9 9 9 -p 12 10 2 -k 0 -k 0 -k 0 -k 1 -k 2 -k 2 -k 2;
// Result: curve1 //

// Create a new curve editor context to modify the curve, then switch to it
// You can modify the curve using the manipulator handle
curveEditorCtx curveEditorCtx1;
setToolTo curveEditorCtx1;