|
Coordinate Conversion
The following commands perform coordinate conversions:
FROM_REF_TO_SIM_COORDS |
The function gets five numeric parameters: It transfers the XYZ coordinates from the REF coordinate system (in tooltip terms) to the machine (SIM) coordinate system (in spindle terms), taking into account that the machine is positioned in the given Alpha and Beta angles. The result is given in three variables: |
FROM_SIM_TO_REF_COORDS |
The function gets five numeric parameters: It transfers the XYZ coordinates from the machine (SIM) coordinate system (in spindle terms) to the REF coordinate system (in tooltip terms), taking into account that the machine is positioned in the given Alpha and Beta angles. The result is given in three variables: |
Example
FROM_REF_TO_SIM_COORDS X_CURPOS Y_CURPOS Z_CURPOS A_CURPOS B_CURPOS;
FROM_SIM_TO_REF_COORDS X_SAFE_POS Y_SAFE_POS Z_SAFE_POS (-90) 0;
|