Dieses Design enthält Informationen, mit denen ein nulldimensionales Objekt, nämlich der Ursprung des Bauteils, abhängig gemacht wird. Sie kann als Mixin für Bauteile verwendet werden, deren Geometrie nur durch einen Positionsparameter beschrieben wird.
Name | Typ | Beschreibung |
---|---|---|
origin | point | Punktposition dieses Bauteils. |
Name: | pointMixin_Ex01 | |
Design: | pointMixin | |
Name | Typ | Formel |
q01 | String | "" |
q11 | String | "" |
q00 | String | "" |
q10 | String | "" |
Untergeordneter Name: | TLA | |
Untergeordnetes Design: | :pointMixin | |
Name | Typ | Angegeben |
origin | Any | point(0,0,0) |
q01 | Any | "YOF" |
q11 | Any | "3F" |
q00 | Any | "-" |
q10 | Any | "7" |
color | Any | "blue" |
Untergeordneter Name: | hBar | |
Untergeordnetes Design: | :Line | |
Name | Typ | Angegeben |
thruPoint1 | point | origin - unitY*0.25 |
thruPoint2 | point | origin + unitY*0.25 |
lineWidth | String | "Heavy" |
Untergeordneter Name: | vBar | |
Untergeordnetes Design: | :Line | |
Name | Typ | Angegeben |
thruPoint1 | point | origin - unitX*0.25 |
thruPoint2 | point | origin + unitX*0.25 |
lineWidth | String | "Heavy" |
Untergeordneter Name: | txt01 | |
Untergeordnetes Design: | :Text | |
Name | Typ | Angegeben |
Text | String | q01 |
v10 | point | origin - unitX*0.05 + unitY*0.05 |
charHeight | Number | 0.2 |
Untergeordneter Name: | txt11 | |
Untergeordnetes Design: | :Text | |
Name | Typ | Angegeben |
Text | String | q11 |
v00 | point | origin + unitX*0.05 + unitY*0.05 |
charHeight | Number | 0.2 |
Untergeordneter Name: | txt00 | |
Untergeordnetes Design: | :Text | |
Name | Typ | Angegeben |
Text | String | q00 |
v11 | point | origin + unitX*0.05 + unitY*0.05 |
charHeight | Number | 0.2 |
Untergeordneter Name: | txt10 | |
Untergeordnetes Design: | :Text | |
Name | Typ | Angegeben |
Text | String | q10 |
v01 | point | origin + unitX*0.05 - unitY*0.05 |
charHeight | Number | 0.2 |
Name: | pointMixin_Ex02 | |
Design: | Rectangle | |
Name | Typ | Formel |
height | Number | 1 |
width | Number | 3 |
Untergeordneter Name: | flange | |
Untergeordnetes Design: | :rectangle | |
Name | Typ | Angegeben |
height | Number | 0.1 |
width | Number | width |
eBottom | point | eBottom |
lineWidth | String | "Heavy" |
color | String | "olive green" |
Untergeordneter Name: | fLeft | |
Untergeordnetes Design: | :pointMixin_Ex01 | |
Name | Typ | Angegeben |
origin | point | midPoint(eLeft, center) |
q01 | Any | "YOF" |
q11 | Any | "3F" |
q00 | Any | "-" |
q10 | Any | "7" |
color | Any | "blue" |
Untergeordneter Name: | fRight | |
Untergeordnetes Design: | :pointMixin_Ex01 | |
Name | Typ | Angegeben |
origin | point | midPoint(eRight, center) |
q01 | Any | "YOF" |
q11 | Any | "3F" |
q00 | Any | "-" |
q10 | Any | "7" |
color | Any | "blue" |
Name: | pointMixin_Ex03 | |
Design: | Rectangle | |
Name | Typ | Formel |
fDia | Number | 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 |
Untergeordneter Name: | TLA | |
Untergeordnetes Design: | pointMixin_Ex03 | |
Name | Typ | Angegeben |
height | Any | 1 |
width | Any | 3 |
Untergeordneter Name: | flange | |
Untergeordnetes Design: | :rectangle | |
Name | Typ | Angegeben |
height | Number | 0.1 |
width | Number | width |
eBottom | point | eBottom |
lineWidth | String | "Heavy" |
color | String | "olive green" |
Untergeordneter Name: | base | |
Untergeordnetes Design: | :rectangle | |
Name | Typ | Angegeben |
height | Number | height |
width | Number | width |
eBottom | point | eBottom |
lineWidth | String | "Heavy" |
color | String | "olive green" |
Untergeordneter Name: | fLeft | |
Untergeordnetes Design: | :pointMixin_Ex01 | |
Name | Typ | Angegeben |
origin | point | midPoint(eLeft, center) |
q01 | Any | "YOF" |
q11 | Any | "3F" |
q00 | Any | "-" |
q10 | Any | "7" |
color | Any | "blue" |
Untergeordneter Name: | fPt | |
Untergeordnetes Design: | :pointMixin_Ex01 | |
Name | Typ | Angegeben |
Quantity | Integer | length(fPtList) |
origin | point | nth(child.index, fPtList) |
q10 | String | (If (Child.index = 1 Or (Child.index = length(fPtList))) Then " YOF " Else _ "") |
q11 | String | (If (Child.index = 1 Or (Child.index = length(fPtList))) Then format(" %d ", _ |
color | String | "red" |
Untergeordneter Name: | fPt | |
Untergeordnetes Design: | :pointMixin_Ex01 | |
![]() |
||
Name | Typ | Angegeben |
Quantity | Integer | length(fPtList) |
origin | point | nth(child.index, fPtList) |
q10 | String | (If (Child.index = 1 Or (Child.index = length(fPtList))) Then " YOF " Else _ "") |
q11 | String |
(If (Child.index = 1 Or (Child.index = length(fPtList))) Then format(" %d ", _ floor(fDia * 16)) Else "") |
color | String | "red" |