PDA

View Full Version : CS_AXIS command


Lim Chee Beng
01-01-2003, 05:41 PM
Couldn't find enough explanation of "cs_axis" command in OneSpace Help. Any further help file available? Or, can aynbody helps to explain the use of the command? My macro previous programmer uses "CS_AXIS (1,0) (0,1)", what does it mean?:confused:

mr macro
01-06-2003, 08:48 AM
By default, DD (ME10) has a coordinate system where the X axis is horizontal with positive values going to the right and the Y axis is vertical with positive values going up. The cs_axis command allows you to alter the direction(s) of either axis as well as to change the angle between them to something other than 90 degrees.

Typically, the command is used to skew the axes for isometric work. If you look at the underlying code for the "Grid Isometric" commands, you will see they call the cs_axis command.

The command you referred to: CS_AXIS (1,0) (0,1) means that the X-Axis is defined as a vector going from 0,0 to 1,0 (the first ordinate pair) and the Y-Axis is defined as a vector going from 0,0 to (0,1) (all vectors are defined from 0,0). This step is usually used to reset a coordinate system in case another macro or the user has changed it.

Hope that helps.

Steve Montambault