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 6: Line 6:
|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)
|param3=<local CS WP>|param3_desc=Get the matrix in the workpiece coordinate system (1=yes, 0=no, default 0)
}}
}}



Latest revision as of 18:10, 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, default 0)

Example

LOCAL Mat1(12)
GET_CS_MATRIX 4, Mat1


This gets the transformation matrix used to define CS 4.