BlockMixin

概要

この design ブロック座標系、寸法、 points ハンドルを定義するために他の designs で mixin として使用されます。 ただし、独自のジオメトリはありません。

Mixin

[パラメータ]

Name [タイプ] 説明
length number ローカル Y 軸に沿ったブロックのサイズです。
width number ローカル X 軸に沿ったブロックのサイズです。
height number ローカル Z 軸に沿ったブロックのサイズです。
v000 point 左、正面、下部のコーナーです。
v001 point 左、正面、上部のコーナーです。
v010 point 左、背面、下部のコーナーです。
v011 point 左、背面、上部のコーナーです。
v100 point 右、正面、下部のコーナーです。
v101 point 右、正面、上部のコーナーです。
v110 point 右、背面、下部のコーナーです。
v111 point 右、背面、上部のコーナーです。
eTopLeft point 上側と左側の間のエッジの中心です。
eTopRight point 上側と右側の間のエッジの中心です。
eTopFront point 上側と正面側の間のエッジの中心です。
eTopRear point 上側と背面側の間のエッジの中心です。
eBottomLeft point 下側と左側の間のエッジの中心です。
eBottomRight point 下側と右側の間のエッジの中心です。
eBottomFront point 下側と正面側の間のエッジの中心です。
eBottomRear point 下側と背面側の間のエッジの中心です。
eLeftFront point 左側と正面側の間のエッジの中心です。
eLeftRear point 左側と背面側の間のエッジの中心です。
eRightFront point 右側と正面側の間のエッジの中心です。
eRightRear point 右側と背面側の間のエッジの中心です。
fLeft point 左の面の中心です。
fRight point 右の面の中心です。
fFront point 前の面の中心です。
fRear point 後ろの面の中心です。
fTop point 上の面の中心です。
fBottom point 下の面の中心です。
LocalMatingPointName name MatingPoint で配置するローカル ポイントを指定します。頂点、エッジの中心、または面の中心の名前を使用できます。
MatingPoint point (LocalMatingPointName で記述される)ローカル交接点がこの位置に配置されます。
XOffset number MatingPoint の(LocalMatingPointName で記述される)ローカル交接点の X 方向のオフセットです
YOffset number MatingPoint のローカル交接 point (LocalMatingPointName で記述される)の Y 方向のオフセット]
ZOffset number MatingPoint のローカル交接 point (LocalMatingPointName で記述される)の Z 方向のオフセット
XIndex integer ブロックが BlockGroup の一部の場合の、グループ内のブロックのインデックスです。
YIndex integer ブロックが BlockGroup の一部の場合の、グループ内のブロックのインデックスです。
ZIndex integer ブロックが BlockGroup の一部の場合の、グループ内のブロックのインデックスです。
matrix_index list XIndex、yIndex の list 、ZIndex

ルール

Name [タイプ] 説明
ZDirection vector X および Y 方向の外積から算出したローカル Z 方向ベクトルです。
UnitXDirection vector XDirection の vector 単位です。
UnitYDirection vector YDirection の vector 単位です。
UnitZDirection vector ZDirection の vector 単位です。
OffsetVectorV000 vector 頂点 v000 までブロックの中心からオフセットします。 vector
OffsetVectorV001 vector 頂点 v001 までブロックの中心からオフセットします。 vector
OffsetVectorV010 vector 頂点 v010 までブロックの中心からオフセットします。 vector
OffsetVectorV011 vector 頂点 v011 までブロックの中心からオフセットします。 vector
OffsetVectorV100 vector 頂点 v100 までブロックの中心からオフセットします。 vector
OffsetVectorV101 vector 頂点 v101 までブロックの中心からオフセットします。 vector
OffsetVectorV110 vector 頂点 v110 までブロックの中心からオフセットします。 vector
OffsetVectorV111 vector 頂点 v111 までブロックの中心からオフセットします。 vector
OffsetVectoreTopLeft vector ETopLeft エッジ中心 point にブロックの中心からオフセットします。 vector
OffsetVectoreTopRight vector ETopRight エッジ中心 point にブロックの中心からオフセットします。 vector
OffsetVectoreTopFront vector ETopFront エッジ中心 point にブロックの中心からオフセットします。 vector
OffsetVectoreTopRear vector ETopRear エッジ中心 point にブロックの中心からオフセットします。 vector
OffsetVectoreBottomLeft vector EBottomLeft エッジ中心 point にブロックの中心からオフセットします。 vector
OffsetVectoreBottomRight vector EBottomRight エッジ中心 point にブロックの中心からオフセットします。 vector
OffsetVectoreBottomFront vector EBottomFront エッジ中心 point にブロックの中心からオフセットします。 vector
OffsetVectoreBottomRear vector EBottomRear エッジ中心 point にブロックの中心からオフセットします。 vector
OffsetVectoreLeftRear vector ELeftRear エッジ中心 point にブロックの中心からオフセットします。 vector
OffsetVectoreLeftFront vector ELeftFront エッジ中心 point にブロックの中心からオフセットします。 vector
OffsetVectoreRightRear vector ERightRear エッジ中心 point にブロックの中心からオフセットします。 vector
OffsetVectoreRightFront vector ERightFront エッジ中心 point にブロックの中心からオフセットします。 vector
OffsetVectorfTop vector FTop 面中心 point にブロックの中心からオフセットします。 vector
OffsetVectorfBottom vector FBottom 面中心 point にブロックの中心からオフセットします。 vector
OffsetVectorfRight vector FRight 面中心 point にブロックの中心からオフセットします。 vector
OffsetVectorfLeft vector FLeft 面中心 point にブロックの中心からオフセットします。 vector
OffsetVectorfFront vector FFront 面中心 point にブロックの中心からオフセットします。 vector
OffsetVectorfRear vector FRear 面中心 point にブロックの中心からオフセットします。 vector
FrameOrigin point  
center point ブロックの中心] point をクリックします。
vDirectionRear vector 後ろの面に向かって、中心からの vector ローカルの単位です。
vDirectionFront vector 正面に向かって、中心からの vector ローカルの単位です。
vDirectionLeft vector 左の面に向かって、中心からの vector ローカルの単位です。
vDirectionRight vector 右の面に向かって、中心からの vector ローカルの単位です。
vDirectionUp vector 一番上の面に向かって、中心からの vector ローカルの単位です。
vDirectionDown vector 下の面に向かって、中心からの vector ローカルの単位です。

メソッド

V1、V2 によって示される最も極端な方向であるRelativeMatingPoint( V1 As Vector, V2 As Vector, V3 As Vector ) As Point 
頂点、V3 を返します。 別のオブジェクトのローカル座標系の相対的な位置によって定義される BuildingBlock 上で point を選択するのに役立ちます。
RelativeMatingFace( V1 As Vector, V2 As Vector, V3 As Vector ) As Point
指定されたベクトルの方向の面の中心を返します。 point

Group Rules

<matingPoint_localMatingPointName (MatingPoint LocalMatingPointName) > XDirection ベクトルおよび YDirection vectors frameOrigin point として使用して localFrame を定義します。

<lwh_v000 (v000) > [オフセット vector は v000 位置 + ブロックの中心にこの頂点から原点と、xDirection と yDirection vectors に沿ってブロックの向きを選択します。

オフセット vector + v001 位置ブロックの中心にこの頂点から原点と、xDirection と yDirection vectors に沿ってブロックの向き<lwh_v001 (v001)を選択します。

オフセット vector は v010 位置 + ブロックの中心にこの頂点から原点と、xDirection と yDirection vectors に沿ってブロックの向き<lwh_v010 (v010)を選択します。

<lwh_v011 (v011) > [オフセット vector は v011 位置 + ブロックの中心にこの頂点から原点と、xDirection と yDirection vectors に沿ってブロックの向きを選択します。

<lwh_v100 (V100) > [オフセット vector + v100 位置ブロックの中心にこの頂点から原点と、xDirection と yDirection vectors に沿ってブロックの向きを選択します。

<lwh_v100 (v101) > [オフセット vector + v101 位置ブロックの中心にこの頂点から原点と、xDirection と yDirection vectors に沿ってブロックの向きを選択します。

オフセット vector は v110 位置 + ブロックの中心にこの頂点から原点と、xDirection と yDirection vectors に沿ってブロックの向き<lwh_v110 (v110)を選択します。

<lwh_v111 (v111) > [オフセット vector は v111 位置 + ブロックの中心にこの頂点から原点と、xDirection と yDirection vectors に沿ってブロックの向きを選択します。

<lwh_etl (eTopLeft) > オフセット(OffsetVectorETopLeft) + eTopLeft point の原点と、xDirection と yDirection vectors に沿ってブロックの向きを選択します。

<lwh_etrt (eTopRight) > オフセット(OffsetVectorETopRight) + eTopRight point の原点と、xDirection と yDirection vectors に沿ってブロックの向きを選択します。

<lwh_etf (eTopFront) > オフセット(OffsetVectorETopFront) + eTopFront point の原点と、xDirection と yDirection vectors に沿ってブロックの向きを選択します。

<lwh_etrr (eTopRear) > オフセット(OffsetVectorETopRear) + eTopRear point の原点と、xDirection と yDirection vectors に沿ってブロックの向きを選択します。

<lwh_ebl (eBottomLeft) > オフセット(OffsetVectorEBottomLeft) + eBottomLeft point の原点と、xDirection と yDirection vectors に沿ってブロックの向きを選択します。

<lwh_ebrt (eBottomRight) > オフセット(OffsetVectorEBottomRight) + eBottomRight point の原点と、xDirection と yDirection vectors に沿ってブロックの向きを選択します。

<lwh_ebf (eBottomFront) > オフセット(OffsetVectorEBottomFront) + eBottomFront point の原点と、xDirection と yDirection vectors に沿ってブロックの向きを選択します。

<lwh_ebrr (eBottomRear) > オフセット(OffsetVectorEBottomRear) + eBottomRear point の原点と、xDirection と yDirection vectors に沿ってブロックの向きを選択します。

<lwh_lrr (eLeftRear) > オフセット(OffsetVectorELeftRear) + eLeftRear point の原点と、xDirection と yDirection vectors に沿ってブロックの向きを選択します。

<lwh_lf (eLeftFront) > オフセット(OffsetVectorELeftFront) + eLeftFront point の原点と、xDirection と yDirection vectors に沿ってブロックの向きを選択します。

<lwh_rrr (eRightRear) > オフセット(OffsetVectorERightRear) + eRightRear point の原点と、xDirection と yDirection vectors に沿ってブロックの向きを選択します。

<lwh_rtf (erightFront) > オフセット(OffsetVectorERightFront) + eRightFront point の原点と、xDirection と yDirection vectors に沿ってブロックの向きを選択します。

<lwh_f (fFront) > オフセット(OffsetVectorFFront) + fFront point の原点と、xDirection と yDirection vectors に沿ってブロックの向きを選択します。

オフセット(OffsetVectorFRear) + point fRear 中の原点と<lwh_rr (fRear) > XDirection ベクトルおよび YDirection vectors 方向に沿ってブロックします。

<lwh_rt (fRight) > オフセット(OffsetVectorFRight) + fRight point の原点と、xDirection と yDirection vectors に沿ってブロックの向きを選択します。

オフセット(OffsetVectorFLeft) + point fLeft 中の原点と<lwh_l (fLeft ブロックの向き) > XDirection ベクトルおよび YDirection vectors に沿って表示します。

<lwh_t (fTop) > オフセット(OffsetVectorFTop) + fTop point の原点と、xDirection と yDirection vectors に沿ってブロックの向きを選択します。

<lwh_b (fBottom) > オフセット(OffsetVectorFBottom) + fBottom point の原点と、xDirection と yDirection vectors に沿ってブロックの向きを選択します。

<center_only (center) > [中心]: point 対象の原点と、xDirection と yDirection vectors に沿ってブロックの向きを選択します。

例 1

Name : blockMixin_Ex01
Design : blockMixin acDrawingDocument
[名前] [タイプ]
height number 100
length number 100
width number 100
Child Name : x_axis
Child Design : :Cylinder
[名前] [タイプ] 指定値
axis vector vector(1, 0, 0)
height number 長さ
radius number Child.height / 20
bottomPoint point point(-length/2, 0, 0)
topPoint point point(length/2, 0, 0)
color string "blue"
Child Name : y_axis
Child Design : :Cylinder
[名前] [タイプ] 指定値
axis vector vector(0, 1, 0)
height number
radius number Child.height / 20
bottomPoint point point(0, -length/2, 0)
topPoint point point(0, length/2, 0)
color string "green"
Child Name : z_axis
Child Design : :Cylinder
[名前] [タイプ] 指定値
axis vector vector(1, 0, 0)
height number height
radius number Child.height / 20
bottomPoint point point(0, 0, -length/2)
topPoint point point(0, 0, length/2)
color string "red"

例 2

Name : blockMixin_Ex02
Design : acDrawingDocument
Child Name : axis_1
Child Design : :blockMixin_Ex01
[名前] [タイプ] 指定値
origin point point(0,0,0)
Child Name : axis_2
Child Design : :blockMixin_Ex01
[名前] [タイプ] 指定値
fFront point axis_1.fRear
Child Name : axis_3
Child Design : :blockMixin_Ex01
[名前] [タイプ] 指定値
v011 point axis_1.v100
xDriection vector vector(1,1,1)
yDirextion vector vector(-1,1,1)
Child Name : axis_4
Child Design : :blockMixin_Ex01
[名前] [タイプ] 指定値
fFront point axis_3.fRear
referenceFrame frame axis_3.localFrame