Orientations
- Last UpdatedMay 25, 2022
- 1 minute read
The basic ways of defining an orientation are:
-
Orientation attribute plus optional WRT. For example:
ORI OF /BOX1 WRT /*
-
Cartesian orientation. For example:
dir IS dir AND dir IS dir
-
For example to set an orientation of an element to that of a section, rotated by 90 degrees use:
(E IS U WRT /SCTN1 AND N IS E WRT /SCTN1)
-
The AXES keyword, which will allow you to use P-points to specify orientations.
Syntax
----<---------.
/ |
>-- AXES --*--- PArrive ---|
| |
|--- PLeave ----|
| |
|--- PTail -----|
| |
|--- HHead -----|
| |
|--- HTail -----|
| |
‘--- PPOINT n --+-- OF - <gid> ---->
Example
( AXES PLEAVE IS AXES PLEAVE OF PREV AND AXES P3 IS UP )
-
This will orient a branch component, such as a valve, so that it is aligned with the previous component and its P3 is up.
Refer to also Compare Positions.