Synopsis
This design provides a visualization of the position and orientation of a Frame. A Frame is a coordinate system. This representation is a 3-4-5 triangle in the X-Y plane, with the longer leg in the X direction. A small Z-oriented segment shows the Z-axis. The representation, like Plane and Ray, is sized to the view. The representation is the same as that provided by the renderFrame: attribute on FrameMixin.
Parameters
| Name |
Type |
Description |
| size |
number |
The size of the frame representation. This size is actually the length of the Z-oriented segment. All other parts are sized relative to it - the X-leg is four times longer and the Y-leg is 3 times longer. The default value is one-tenth of the window width. |
Example 1
| Name: |
referenceFrame_Ex01
|
| Design: |
acDrawingDocument
|
| Child Name: |
originFrame
|
| Child Design: |
:referenceFrame
|
|
Name
|
Type
|
Supplied
|
| color |
string |
"jungle green" |
| Child Name: |
anObject
|
| Child Design: |
:Text
|
|
Name
|
Type
|
Supplied
|
| text |
string |
"Obj" |
| charHeight |
number |
1 |
| color |
string |
"Lavender" |
| Child Name: |
newLocalFrame
|
| Child Design: |
:referenceFrame
|
|
Name
|
Type
|
Supplied
|
| referenceFrame |
frame |
anObject.localFrame |
| color |
string |
"red" |
Example 2
| Name: |
referenceFrame_Ex02
|
| Design: |
acDrawingDocument
|
| Child Name: |
originFrame
|
| Child Design: |
:referenceFrame
|
|
Name
|
Type
|
Supplied
|
| color |
string |
"jungle green" |
| Child Name: |
anObject
|
| Child Design: |
:Text
|
|
Name
|
Type
|
Supplied
|
| text |
string |
"Obj" |
| charHeight |
number |
1 |
| color |
string |
"Lavender" |
| origin |
point |
Point(0, 0, 2) |
| Child Name: |
newLocalFrame
|
| Child Design: |
:referenceFrame
|
|
Name
|
Type
|
Supplied
|
| referenceFrame |
frame |
anObject.localFrame |
| color |
string |
"red" |
Example 3
| Name: |
referenceFrame_Ex03
|
| Design: |
acDrawingDocument
|
| Child Name: |
originFrame
|
| Child Design: |
:referenceFrame
|
|
Name
|
Type
|
Supplied
|
| color |
string |
"jungle green" |
| Child Name: |
anObject
|
| Child Design: |
:Text
|
|
Name
|
Type
|
Supplied
|
| text |
string |
"Obj" |
| charHeight |
number |
1 |
| color |
string |
"Lavender" |
| yDirection |
vector |
unitZ |
| Child Name: |
newLocalFrame
|
| Child Design: |
:referenceFrame
|
|
Name
|
Type
|
Supplied
|
| referenceFrame |
frame |
anObject.localFrame |
| color |
string |
"red" |
Example 4
| Name: |
referenceFrame_Ex04
|
| Design: |
acDrawingDocument
|
| Child Name: |
originFrame
|
| Child Design: |
:referenceFrame
|
|
Name
|
Type
|
Supplied
|
| color |
string |
"jungle green" |
| Child Name: |
anObject
|
| Child Design: |
:Text
|
|
Name
|
Type
|
Supplied
|
| text |
string |
"Obj" |
| charHeight |
number |
1 |
| color |
string |
"Lavender" |
| origin |
point |
Point(0, 0, 2) |
| xDirection |
vector |
-unitY |
| yDirection |
vector |
unitZ |
| Child Name: |
newLocalFrame
|
| Child Design: |
:referenceFrame
|
|
Name
|
Type
|
Supplied
|
| referenceFrame |
frame |
anObject.localFrame |
| color |
string |
"red" |