Axial Attributes
- Last UpdatedJan 13, 2023
- 2 minute read
Axial attributes of both 3D and 2D primitives define a position and a direction. An axial attribute of a 3D primitive may be specified as a direction in one, two or three dimensions or as a P-point. Similarly, the axial attribute of a 2D primitive may be specified as a direction in one or two dimensions or as a P-line.
If an axial attribute of a 3D primitive is specified as a P-point, the direction of the axis is taken to be the direction of the P-point, and the origin of the axis to be the position of the P-point. If the axial attribute is specified as a direction, the origin of the axis is taken to be the component origin, i.e. the position of P-point 0.
Examples
|
PAAX -P2 |
sets PAAX to be opposite the direction of P-point 2 with its origin at the position of the P-point |
|
PBAX X34-Y |
sets PBAX to the given direction from the component origin |
|
PCAX X45Y30Z |
sets PCAX to the given direction from the component origin |
|
PAXI X DDANG Z |
takes the Design DDANGLE and calculates the direction accordingly |
Syntax
>--+- PAXIs --.
| |
|- PAAXis -|
| |
|- PBAXis -|
| |
‘- PCAXis -+- sign -.
| |
‘--------+- P - number -------------------------------.
| |
‘- <axis> -+- value -----. |
| | |
|- <expres> --+- sign -. |
| | | |
| ‘--------+- <axis> -|
| |
‘---------------------------------+-->
where <axis> is
>--+-- X --.
| |
|-- Y --|
| |
‘-- Z --+-->
If the axial attribute of a 2D primitive is specified as a P-line, the direction of the axis is taken to be the direction of the P-line, and the origin of the axis to be the position of the P-line. If the axial attribute is specified as a direction or direction expression, the origin of the axis is taken to be the component origin.
Examples
|
PLAX PLIN NAXI |
sets PLAX to be the direction of the P-line whose PKEY attribute is NAXI; the origin of the axis is at the position of the P-line |
|
PLAX X60-Y |
sets PLAX to the given direction from the component origin |
Syntax
>- PLAXis -+- sign -.
| |
‘--------+- PLINe - <plkey> --------------------------.
| |
‘- <axis> -+- value -----. |
| | |
|- <expres> -+- sign -. |
| | | |
| ‘--------+- <axis> -|
| |
‘---------------------------------+-->
where <axis> is
>--+-- X --.
| |
‘-- Y --+-->
and <plkey> is the PKEY attribute of the P-line.