GET CS MATRIX: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
Mikeo (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
Line 1: Line 1:
[[:Category:Coordinate_Systems|{{Up}}]]
[[:Category:Coordinate_Systems|{{Up}}]]


{{Command|syntax=GET_CS_MATRIX <cs number>, <matrix array>
{{Command|syntax=GET_CS_MATRIX <cs number>, <matrix array> [<local CS WP>]
|description=:Get the transformation matrix that defines a CS.
|description=:Get the transformation matrix that defines a CS.


|param1=<cs number>|param1_desc={{cs number}}
|param1=<cs number>|param1_desc={{cs number}}
|param2=<matrix array>|param2_desc={{parameter_variable_matrix}}.
|param2=<matrix array>|param2_desc={{parameter_variable_matrix}}.
|param3=<local CS WP>|param3_desc=Get the matrix in the workpiece coordinate system (1=yes, 0=no)
}}
}}



Revision as of 18:09, 23 December 2016

Up

Command

GET_CS_MATRIX <cs number>, <matrix array> [<local CS WP>]


Get the transformation matrix that defines a CS.

Parameters

<cs number>
CS number.
<matrix array>
Name of Matrix variable.
<local CS WP>
Get the matrix in the workpiece coordinate system (1=yes, 0=no)

Example

LOCAL Mat1(12)
GET_CS_MATRIX 4, Mat1


This gets the transformation matrix used to define CS 4.