Interface ICLDMachineInfo
Object that helps to get some information about the machine which is contained inside a CLData project.
Namespace: SprutCAMTech.SCPostprocessor
Assembly: SprutCAMTech.SCPostprocessor.dll
Syntax
public interface ICLDMachineInfo
Properties
Axes
The list of machine axes. You can get reference to the machine axis by it's index in the list Axes[0 .. AxesCount-1] or by it's unique textual identifier (as it defined in machine schema) Axes["AxisXPos"].
Declaration
ICLDMachineAxesIndexer Axes { get; }
Property Value
Type | Description |
---|---|
ICLDMachineAxesIndexer |
AxesCount
Count of a machine axes in the Axes list.
Declaration
int AxesCount { get; }
Property Value
Type | Description |
---|---|
int |
Equipment
Reference to the machine schema properties for the project.
Declaration
INamedProperty Equipment { get; }
Property Value
Type | Description |
---|---|
INamedProperty |
Group
Textual designation of a machine type group. Possible values are:
- Unknown
- Milling
- Lathe
- LatheMilling
- JetCutter
- WireEDM
- Robot
Declaration
string Group { get; }
Property Value
Type | Description |
---|---|
string |
HasA1Axis
Returns "True" if the robot contains standard A1 joint axis in the list.
Declaration
bool HasA1Axis { get; }
Property Value
Type | Description |
---|---|
bool |
HasA2Axis
Returns "True" if the robot contains standard A2 joint axis in the list.
Declaration
bool HasA2Axis { get; }
Property Value
Type | Description |
---|---|
bool |
HasA3Axis
Returns "True" if the robot contains standard A3 joint axis in the list.
Declaration
bool HasA3Axis { get; }
Property Value
Type | Description |
---|---|
bool |
HasA4Axis
Returns "True" if the robot contains standard A4 joint axis in the list.
Declaration
bool HasA4Axis { get; }
Property Value
Type | Description |
---|---|
bool |
HasA5Axis
Returns "True" if the robot contains standard A5 joint axis in the list.
Declaration
bool HasA5Axis { get; }
Property Value
Type | Description |
---|---|
bool |
HasA6Axis
Returns "True" if the robot contains standard A6 joint axis in the list.
Declaration
bool HasA6Axis { get; }
Property Value
Type | Description |
---|---|
bool |
HasAAxis
Returns "True" if the machine contains standard A axis in the list.
Declaration
bool HasAAxis { get; }
Property Value
Type | Description |
---|---|
bool |
HasBAxis
Returns "True" if the machine contains standard B axis in the list.
Declaration
bool HasBAxis { get; }
Property Value
Type | Description |
---|---|
bool |
HasC1Axis
Returns "True" if the machine contains standard C1 axis in the list.
Declaration
bool HasC1Axis { get; }
Property Value
Type | Description |
---|---|
bool |
HasC2Axis
Returns "True" if the machine contains standard C2 axis in the list.
Declaration
bool HasC2Axis { get; }
Property Value
Type | Description |
---|---|
bool |
HasCAxis
Returns "True" if the machine contains standard C axis in the list.
Declaration
bool HasCAxis { get; }
Property Value
Type | Description |
---|---|
bool |
HasE1Axis
Returns "True" if the robot contains standard E1 external axis in the list.
Declaration
bool HasE1Axis { get; }
Property Value
Type | Description |
---|---|
bool |
HasE2Axis
Returns "True" if the robot contains standard E2 external axis in the list.
Declaration
bool HasE2Axis { get; }
Property Value
Type | Description |
---|---|
bool |
HasE3Axis
Returns "True" if the robot contains standard E3 external axis in the list.
Declaration
bool HasE3Axis { get; }
Property Value
Type | Description |
---|---|
bool |
HasXAxis
Returns "True" if the machine contains standard X axis in the list.
Declaration
bool HasXAxis { get; }
Property Value
Type | Description |
---|---|
bool |
HasYAxis
Returns "True" if the machine contains standard Y axis in the list.
Declaration
bool HasYAxis { get; }
Property Value
Type | Description |
---|---|
bool |
HasZAxis
Returns "True" if the machine contains standard Z axis in the list.
Declaration
bool HasZAxis { get; }
Property Value
Type | Description |
---|---|
bool |
MachineID
Textual identifier of the machine as it defined inside machine schema with a Type tag.
Declaration
string MachineID { get; }
Property Value
Type | Description |
---|---|
string |
MachineName
Textual name of the machine shown to users.
Declaration
string MachineName { get; }
Property Value
Type | Description |
---|---|
string |
Methods
IndexOfAxis(string)
Finds the index of the axis in the list by it's unique textual identifier.
Declaration
int IndexOfAxis(string axisID)
Parameters
Type | Name | Description |
---|---|---|
string | axisID | Unique textual identifier of the axis to find. |
Returns
Type | Description |
---|---|
int | Returns the index of the axis with the given axisID. Returns "-1" if there is no axis with the given axisID in the list. |