AxisVector: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
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..."
 
Dannym (talk | contribs)
No edit summary
Line 10: Line 10:




{{Stats|id=480|type=Number|class=Stepper Posts|scope= Global|version=UKM, Keyword 255}}
{{Stats|id=480|type=Number|class=All Machines|scope= Global|version=UKM, Keyword 255}}

Revision as of 00:14, 16 January 2014

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 All Machines
Scope Global
Min Version UKM, Keyword 255