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
 
(One intermediate revision by the same user not shown)
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, 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.