AxisVector

From Compost Wiki
Revision as of 23:23, 12 December 2013 by Jeffm (talk | contribs) (Created page with "==AxisVector#('axis_name', 'component')== {{Description|description=This command returns the specified XYZ component of the vector of the specified axis. The vector will be in...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

AxisVector#('axis_name', 'component')

Description

This command returns the specified XYZ component of the vector of the specified axis. The vector will be in a unit vector in the machine's default configuration that is defined in the MDD.


Example

The command can be used to get the vector of rotary axes in order to output workplane definitions in a generic way.

'G68' 'I' AxisVector#('1stRotary', 'X') 'J' AxisVector#('1stRotary', 'Y') 'K' AxisVector#('1stRotary', 'Z') 'R' AxisValue#('1stRotary') EOL 'G68' 'I' AxisVector#('2ndRotary', 'X') 'J' AxisVector#('2ndRotary', 'Y') 'K' AxisVector#('2ndRotary', 'Z') 'R' AxisValue#('2ndRotary') EOL



Stats

ID 480
Type Number
Class Stepper Posts
Scope Global
Min Version UKM, Keyword 255