transformLimits [-enableRotationX boolean boolean] [-enableRotationY boolean boolean] [-enableRotationZ boolean boolean] [-enableScaleX boolean boolean] [-enableScaleY boolean boolean] [-enableScaleZ boolean boolean] [-enableTranslationX boolean boolean] [-enableTranslationY boolean boolean] [-enableTranslationZ boolean boolean] [-remove] [-rotationX angle angle] [-rotationY angle angle] [-rotationZ angle angle] [-scaleX float float] [-scaleY float float] [-scaleZ float float] [-translationX linear linear] [-translationY linear linear] [-translationZ linear linear]
[object]
transformLimits は 「元に戻す」が可能、「照会」が可能、「編集」が可能 です。
transformLimits コマンドは、オブジェクトに適用できる変換に関する制限を設定、編集または照会できます。 また、前に設定したすべての制限をオフにすることもできます。 最初に作成されたときには、オブジェクトの変換の制限はデフォルトですべてオフになっています。 変換の制限では、オブジェクトを どの程度トランスフォームできるかを制御できます。これはジョイントに対して最も有効ですが、オブジェクトの動きを制限したい場合は どこにでも使うことができます。 デフォルト値:なし
戻り値の型は照会モードでは照会フラグが基になります。
ロング ネーム(ショート ネーム) | 引数型 | プロパティ | ||
---|---|---|---|---|
-remove(-rm)
|
|
![]() |
||
|
||||
-translationX(-tx)
|
linear linear
|
![]() |
||
|
||||
-translationY(-ty)
|
linear linear
|
![]() |
||
|
||||
-translationZ(-tz)
|
linear linear
|
![]() |
||
|
||||
-enableTranslationX(-etx)
|
boolean boolean
|
![]() |
||
|
||||
-enableTranslationY(-ety)
|
boolean boolean
|
![]() |
||
|
||||
-enableTranslationZ(-etz)
|
boolean boolean
|
![]() |
||
|
||||
-rotationX(-rx)
|
angle angle
|
![]() |
||
|
||||
-rotationY(-ry)
|
angle angle
|
![]() |
||
|
||||
-rotationZ(-rz)
|
angle angle
|
![]() |
||
|
||||
-enableRotationX(-erx)
|
boolean boolean
|
![]() |
||
|
||||
-enableRotationY(-ery)
|
boolean boolean
|
![]() |
||
|
||||
-enableRotationZ(-erz)
|
boolean boolean
|
![]() |
||
|
||||
-scaleX(-sx)
|
float float
|
![]() |
||
|
||||
-scaleY(-sy)
|
float float
|
![]() |
||
|
||||
-scaleZ(-sz)
|
float float
|
![]() |
||
|
||||
-enableScaleX(-esx)
|
boolean boolean
|
![]() |
||
|
||||
-enableScaleY(-esy)
|
boolean boolean
|
![]() |
||
|
||||
-enableScaleZ(-esz)
|
boolean boolean
|
![]() |
||
|
![]() |
![]() |
![]() |
![]() |
// Create an object, e.g. cone; // 1. To set the limits for the translation of the cone to within // a unit volume centered at the origin transformLimits -tx -1 1 -ty -1 1 -tz -1 1; // 2. To disable the lower limits transformLimits -etx off on -ety off on -etz off on;