AxisVector

From Compost Wiki
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 All Machines
Scope Global
Min Version GibbsCAM version 11.0