The ROTATIONAL Statement
- Last UpdatedJan 20, 2023
- 1 minute read
ROTATIONAL,<rot_name>,<cnt_name>,<pnt>,<vec>;
<rot_name> is the name of the rotational primitive and will be assigned the type ROTATIONAL_3D. The maximum length of <rot_name> is 32 characters.
<cnt_name> is the name of a 2D contour (with type CONTOUR_2D) which has previously been defined.
<pnt> is the origin of the 2D contour in space. It has the type POINT_3D.
<vec> is the vector around which <cnt_name> is rotated. It has the type VECTOR_3D.
Structure:
|
PNT(1:3) |
(DECIMAL) |
||
|
VEC(1:3) |
(DECIMAL) |
||
|
NSEG |
(INTEGER) |
||
|
SEGPARTS(1:NSEG) |
|||
|
ENDPNT(1:2) |
(DECIMAL) |
||
|
AMPLITUDE(1:2) |
(DECIMAL) |
||
|
Example: |
|||
|
GET/STRUCTURE=(X,<rot_name>,'PNT',1) |
|||
|
/STRUCTURE=(N,<rot_name>,'NSEG') |
|||
|
/STRUCTURE=(Y,<rot_name>,'AMPLITUDE',N,'Y'); |
|||