
このデザインには、ゼロ寸法オブジェクト、つまりパーツの原点を拘束するのに必要な情報が含まれます。ジオメトリを表す位置パラメータのみを持つパーツに対する Mixin として使用します。
| Name | [タイプ] | 説明 |
|---|---|---|
| 原点 | 点 | このパーツの点の位置です。 |

| 名前: | pointMixin_Ex01 | |
| デザイン: | pointMixin | |
| [名前] | [タイプ] | 式 |
| q01 | 文字列 | "" |
| q11 | 文字列 | "" |
| q00 | 文字列 | "" |
| q10 | 文字列 | "" |
| 子の名前: | TLA | |
| 子のデザイン: | :pointMixin | |
| [名前] | [タイプ] | 指定値 |
| 原点 | すべて | point(0,0,0) |
| q01 | すべて | "YOF" |
| q11 | すべて | "3F" |
| q00 | すべて | "-" |
| q10 | すべて | "7" |
| color | すべて | "blue" |
| 子の名前: | hBar | |
| 子のデザイン: | :Line | |
| [名前] | [タイプ] | 指定値 |
| thruPoint1 | 点 | origin - unitY*0.25 |
| thruPoint2 | 点 | origin + unitY*0.25 |
| lineWidth | 文字列 | "Heavy" |
| 子の名前: | vBar | |
| 子のデザイン: | :Line | |
| [名前] | [タイプ] | 指定値 |
| thruPoint1 | 点 | origin - unitX*0.25 |
| thruPoint2 | 点 | origin + unitX*0.25 |
| lineWidth | 文字列 | "Heavy" |
| 子の名前: | txt01 | |
| 子のデザイン: | :Text | |
| [名前] | [タイプ] | 指定値 |
| テキスト | 文字列 | q01 |
| v10 | 点 | origin - unitX*0.05 + unitY*0.05 |
| charHeight | 数 | 0.2 |
| 子の名前: | txt11 | |
| 子のデザイン: | :Text | |
| [名前] | [タイプ] | 指定値 |
| テキスト | 文字列 | q11 |
| v00 | 点 | origin + unitX*0.05 + unitY*0.05 |
| charHeight | 数 | 0.2 |
| 子の名前: | txt00 | |
| 子のデザイン: | :Text | |
| [名前] | [タイプ] | 指定値 |
| テキスト | 文字列 | q00 |
| v11 | 点 | origin + unitX*0.05 + unitY*0.05 |
| charHeight | 数 | 0.2 |
| 子の名前: | txt10 | |
| 子のデザイン: | :Text | |
| [名前] | [タイプ] | 指定値 |
| テキスト | 文字列 | q10 |
| v01 | 点 | origin + unitX*0.05 - unitY*0.05 |
| charHeight | 数 | 0.2 |
| 名前: | pointMixin_Ex02 | |
| デザイン: | Rectangle | |
| [名前] | [タイプ] | 式 |
| height | 数 | 1 |
| 幅 | 数 | 3 |
| 子の名前: | flange | |
| 子のデザイン: | :rectangle | |
| [名前] | [タイプ] | 指定値 |
| height | 数 | 0.1 |
| 幅 | 数 | 幅 |
| eBottom | 点 | eBottom |
| lineWidth | 文字列 | "Heavy" |
| color | 文字列 | "olive green" |
| 子の名前: | fLeft | |
| 子のデザイン: | :pointMixin_Ex01 | |
| [名前] | [タイプ] | 指定値 |
| 原点 | 点 | midPoint(eLeft, center) |
| q01 | すべて | "YOF" |
| q11 | すべて | "3F" |
| q00 | すべて | "-" |
| q10 | すべて | "7" |
| color | すべて | "blue" |
| 子の名前: | fRight | |
| 子のデザイン: | :pointMixin_Ex01 | |
| [名前] | [タイプ] | 指定値 |
| 原点 | 点 | midPoint(eRight, center) |
| q01 | すべて | "YOF" |
| q11 | すべて | "3F" |
| q00 | すべて | "-" |
| q10 | すべて | "7" |
| color | すべて | "blue" |
| 名前: | pointMixin_Ex03 | |
| デザイン: | Rectangle | |
| [名前] | [タイプ] | 式 |
| fDia | 数 | 1/4 |
| fPtList | list |
Dim Qty As Integer Dim eop As Number Dim wid As Number Dim pit As Number Dim i As Integer Dim result As List eop = 2 * fDia + 0.06 wid = width - (2 * eop) Qty = ceiling(wid / (4 * fDia)) pit = wid / Qty result = {} For i = 0 To Qty Dim len As Number Dim o As Point len = eop + pit * i o = v01 - (unitY * eop) o = o + unitX * (pit * i + eop) result = result + {o} Next i Return result |
| 子の名前: | TLA | |
| 子のデザイン: | pointMixin_Ex03 | |
| [名前] | [タイプ] | 指定値 |
| height | すべて | 1 |
| 幅 | すべて | 3 |
| 子の名前: | flange | |
| 子のデザイン: | :rectangle | |
| [名前] | [タイプ] | 指定値 |
| height | 数 | 0.1 |
| 幅 | 数 | 幅 |
| eBottom | 点 | eBottom |
| lineWidth | 文字列 | "Heavy" |
| color | 文字列 | "olive green" |
| 子の名前: | base | |
| 子のデザイン: | :rectangle | |
| [名前] | [タイプ] | 指定値 |
| height | 数 | height |
| 幅 | 数 | 幅 |
| eBottom | 点 | eBottom |
| lineWidth | 文字列 | "Heavy" |
| color | 文字列 | "olive green" |
| 子の名前: | fLeft | |
| 子のデザイン: | :pointMixin_Ex01 | |
| [名前] | [タイプ] | 指定値 |
| 原点 | 点 | midPoint(eLeft, center) |
| q01 | すべて | "YOF" |
| q11 | すべて | "3F" |
| q00 | すべて | "-" |
| q10 | すべて | "7" |
| color | すべて | "blue" |
| 子の名前: | fPt | |
| 子のデザイン: | :pointMixin_Ex01 | |
| [名前] | [タイプ] | 指定値 |
| Quantity | integer | length(fPtList) |
| 原点 | 点 | nth(child.index, fPtList) |
| q10 | 文字列 | (If (Child.index = 1 Or (Child.index = length(fPtList))) Then " YOF " Else _ "") |
| q11 | 文字列 | (If (Child.index = 1 Or (Child.index = length(fPtList))) Then format(" %d ", _ |
| color | 文字列 | "red" |
| 子の名前: | fPt | |
| 子のデザイン: | :pointMixin_Ex01 | |
子の一覧かどうか |
||
| [名前] | [タイプ] | 指定値 |
| Quantity | integer | length(fPtList) |
| 原点 | 点 | nth(child.index, fPtList) |
| q10 | 文字列 | (If (Child.index = 1 Or (Child.index = length(fPtList))) Then " YOF " Else _ "") |
| q11 | 文字列 |
(If (Child.index = 1 Or (Child.index = length(fPtList))) Then format(" %d ", _ floor(fDia * 16)) Else "") |
| color | 文字列 | "red" |