The GENERALCYLINDER Statement
- Last UpdatedJan 20, 2023
- 1 minute read
GENERALCYLINDER,<gencyl_name>,<cnt_name>,<thick>,<pnt_1>,<pnt_2>,<pnt_3>;
<gencyl_name> is the name of the general cylinder and will be assigned the type GENERALCYLINDER_3D. The maximum length of <gencyl_name> is 32 characters.
<cnt_name> is the name of a 2D contour (with type CONTOUR_2D) which has previously been defined.
<thick> is the thickness of the general cylinder and has the type DECIMAL.
<pnt_1> is the origin of the general cylinder.
<pnt_2> and <pnt_3> defines together with <pnt_1> the orientation in space. The u vector is given by <pnt_2> and <pnt_1> and the v vector by <pnt_3> and <pnt_1>.
<pnt_1>, <pnt_2> and <pnt_3> all have the type POINT_3D.
Structure:
|
PNT(1:3) |
(DECIMAL) |
||
|
UVEC(1:3) |
(DECIMAL) |
||
|
VVEC(1:3) |
(DECIMAL) |
||
|
THICK |
(DECIMAL) |
||
|
NSEG |
(INTEGER) |
||
|
SEGPARTS(1:NSEG) |
|||
|
ENDPNT(1:2) |
(DECIMAL) |
||
|
AMPLITUDE(1:2) |
(DECIMAL) |
||
|
Example:) |
|||
|
GET/STRUCTURE=(PX,<gencyl_name>,'PNT',1 |
|||
|
/STRUCTURE=(N,<gencyl_name>,'NSEG') |
|||
|
/STRUCTURE=(X,<gencyl_name>,'ENDPNT',N,1) |
|||
|
/STRUCTURE=(Y,<gencyl_name>,'AMPLITUDE',2,'Y'); |
|||