エンティティ計測
エンティティの各種propertyを出力するには、次の 計測 コマンドオプションを使用できます。
Measure Between
Measure Between { { Vertex|Curve|Surface |Volume|Node} <id1> | Location <options> | Plane <options> | Axis <options> } With { {Vertex|Curve|Surface|Volume|Node} <id2> | Location <options> | Plane <options> | Axis <options> }
Measure Between {Surface|Curve} <id1 > [Surface|Curve] <id2> [Node]
Measure Between {Vertex|Curve|Surface|Volume|Node|Edge|Face|Tri|Hex|Tet} <id1> With {Vertex|Curve|Surface|Volume|Node|Edge|Face|Tri|Hex|Tet} <id2>
Measure Between コマンドは、1つのentity、location、plane、axisから次の対象までの距離を出力します。コマンド内の2対象は「with」で区切ります。結果は常に対象間の最小距離です。たとえば2つのsphere間を計測するとcentroid間距離ではなく最小距離が出力されます。以下の例ではvertex 1とsurface 2の最小距離を出力します。
measure between vertex 1 surface 2
2つ目の形式はsurfaceまたはcurve専用で、 ノード 引数を含みます。この引数はsurfaceまたはcurveのペア間で対応node同士の距離を測ろうとします。コマンドは2対象間でnodeの1対1対応を求め、node pair間距離の最大値、最小値、および全node pairの平均距離を返します。surfaceでは平行な場合にmappingアルゴリズムが最も良く機能します。
最後の形式では任意のgeometry entityまたはmesh entity間を計測します。mesh entityへの距離はそのcenter(そのmesh entityに属する全node位置vectorの平均)までの距離です。
グラフィックスウィンドウで2つのエンティティを選択し、一方を右クリックしてエンティティ間距離を計測することもできます。
Measure Small
Measure Small {Length|Area|Volume|All} {Body|Surface} <id_list>
Measure Small コマンドは、 Measure Small Tolerance 設定より小さいlength、area、volumeをすべて検索します。small tolerance条件を満たすエンティティはoutput windowに一覧表示され、通常viewportでhighlightされます。次の2コマンドはsmall toleranceを0.1に設定し、body 1内でlengthがsmall tolerance以下のcurveをすべて出力します。
set measure small tolerance 0.1
measure small length body 1
Measure Angle
Measure Angle { Direction <options> | Plane <options> | Axis <options> } With { Direction <options> | Plane <options> | Axis <options> }
Measure Angle コマンドは入力した2エンティティ間のinterior angleを表示します。planeとdirectionを指定した場合は、direction vectorとそのplaneへのprojectionの間の角度を表示します。測定角度はエンティティorientation間の距離を表し、エンティティ同士が交差している必要はありません。モデルfeatureの角度は Direction, Planes、および 軸 コマンドの適用候補になります。
measure angle direction tangent curve 1 with plane surf 1
Measure Void
Measure Void [Face | Tri] <range>[No_Checks]
Measure Void コマンドは閉じたquadrilateralまたはtriangleのリストを受け取り、そのelement集合が定義する内部領域のvolumeを計算します。指定elementのnormalが一貫した順序であることを前提とします。normalがvoid内部から外向きの場合、報告volumeが負になることがあります。指定elementがclosed manifold shellを形成しているかを確認し、そうでない場合はエラーを報告します。代表的な用途は、thermal analysisでbulk element propertyを決めるためにinternal voidのvolumeを計算することです。
エラーを出す代わりに、 no_checks オプションを使うとfaceのclosureを確認せず、water-tightかどうかに関係なくvoid volumeを計算します。face同士は接しているもののtopological closureが完全でない場合に便利です。
Measure Volume
Measure Volume <range> [Overlap | Shell]
Measure Volume コマンドは指定volumeとそのsurfaceについて、average volume、minimum volume、angle、average surface areaなどのsummary informationを出力します。 shell オプションを指定するとvolumeのshellに関する情報も追加で出力されます。 オーバーラップする オプションはsummary informationを出力せず、交差しているvolume pairだけを報告します。
Measure Surface
Measure Surface <range>
Measure Surface コマンドは指定surfaceとそのcurveについて、average area、minimum area、angle、minimum curve lengthなどのsummary informationを出力します。