CLOCAL
CLOCAL, KCN
, KCS
, XL
, YL
, ZL
, THXY
, THYZ
, THZX
, PAR1
, PAR2
Defines a local coordinate system relative to the active coordinate
system.
KCN
Arbitrary reference number assigned to this coordinate system. Must be greater than 10. A coordinate system previously defined with this number will be redefined.
KCS
Coordinate system type:
0 or CART
—
Cartesian
1 or CYLIN
—
Cylindrical (circular or elliptical)
2 or SPHE
—
Spherical (or spheroidal)
3 or TORO
—
Toroidal
XL
,YL
,ZL
Location (in the active coordinate system) of the origin of the new coordinate system (R, θ, Z for cylindrical, R, θ,Φ for spherical or toroidal).
THXY
First rotation about local Z (positive X toward Y).
THYZ
Second rotation about local X (positive Y toward Z).
THZX
Third rotation about local Y (positive Z toward X).
PAR1
Used for elliptical, spheroidal, or toroidal systems. If
KCS
= 1 or 2,PAR1
is the ratio of the ellipse Y-axis radius to X-axis radius (defaults to 1.0 (circle)). IfKCS
= 3,PAR1
is the major radius of the torus.PAR2
Used for spheroidal systems. If
KCS
= 2,PAR2
= ratio of ellipse Z-axis radius to X-axis radius (defaults to 1.0 (circle)).
Notes
Defines and activates a local coordinate system by origin location and orientation angles relative to the active coordinate system. This local system becomes the active coordinate system, and is automatically aligned with the active system (that is, x is radial if a cylindrical system is active, etc.). Nonzero rotation angles (degrees) are relative to this automatic rotation. See the CS, CSKP, CSWPLA, and LOCAL commands for alternate definitions. Local coordinate systems may be displayed with the /PSYMB command.
This command is valid in any processor.