GET CS MATRIX: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| (3 intermediate revisions 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= | |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={{ | |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) | |||
}} | }} | ||
===Example=== | ===Example=== | ||
:GET_CS_MATRIX | :LOCAL Mat1(12) | ||
:GET_CS_MATRIX 4, Mat1 | |||
<br> | |||
:This gets the transformation matrix used to define CS 4. | |||
[[Category:Coordinate_Systems]] | [[Category:Coordinate_Systems]] | ||
Latest revision as of 18:10, 23 December 2016
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.