CSYS, KCN
Activates a previously defined coordinate system.
KCN
Specifies the active coordinate system, as follows:
0 (default) | — | Cartesian |
1 | — | Cylindrical with global Cartesian Z as the axis of rotation |
2 | — | Spherical |
4 or WP | — | Working Plane |
5 | — | Cylindrical with global Cartesian Y as the axis of rotation |
6 | — | Cylindrical with global Cartesian X as the axis of rotation |
11 or greater | — | Any previously defined local coordinate system |
The CSYS command activates a previously defined coordinate system for geometry input and generation. The LOCAL, CLOCAL, CS, CSKP, and CSWPLA commands also activate coordinate systems as they are defined. To set the active element coordinate system attribute pointer, issue the ESYS command.
The active coordinate system for files created via the CDWRITE command is Cartesian (CSYS,0).
This command is valid in any processor.
CSYS,4 (or CSYS,WP) activates working plane tracking, which updates the coordinate system to follow working plane changes. To deactivate working plane tracking, activate any other coordinate system (for example, CSYS,0 or CSYS,11).
CSYS,5 is a cylindrical coordinate system with global Cartesian Y as the axis. The local x, y and z axes are radial, θ, and axial (respectively). The R-Theta plane is the global X-Z plane, as it is for an axisymmetric model. Thus, at θ = 0.0, CSYS,5 has a specific orientation: the local x is in the global +X direction, local y is in the global -Z direction, and local z (the cylindrical axis) is in the global +Y direction.
CSYS,6 is a cylindrical coordinate system with global Cartesian X as the axis. The local x, y and z axes are axial, radial, and θ (respectively). The R-Theta plane is the global Y-Z plane, as it is for an axisymmetric model. Thus, at θ = 0.0, CSYS,6 has a specific orientation: the local y is in the global +X direction, local z is in the global -Z direction, and local x (the cylindrical axis) is in the global +Y direction.