Interface ICLDMachineInfo
Object that helps to get some information about the machine which is contained inside a CLData project.
Namespace: SprutTechnology.SCPostprocessor
Assembly: 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 |
---|---|
System.Int32 |
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 |
---|---|
System.String |
HasA1Axis
Returns "True" if the robot contains standard A1 joint axis in the list.
Declaration
virtual bool HasA1Axis { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasA2Axis
Returns "True" if the robot contains standard A2 joint axis in the list.
Declaration
virtual bool HasA2Axis { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasA3Axis
Returns "True" if the robot contains standard A3 joint axis in the list.
Declaration
virtual bool HasA3Axis { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasA4Axis
Returns "True" if the robot contains standard A4 joint axis in the list.
Declaration
virtual bool HasA4Axis { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasA5Axis
Returns "True" if the robot contains standard A5 joint axis in the list.
Declaration
virtual bool HasA5Axis { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasA6Axis
Returns "True" if the robot contains standard A6 joint axis in the list.
Declaration
virtual bool HasA6Axis { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasAAxis
Returns "True" if the machine contains standard A axis in the list.
Declaration
virtual bool HasAAxis { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasBAxis
Returns "True" if the machine contains standard B axis in the list.
Declaration
virtual bool HasBAxis { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasC1Axis
Returns "True" if the machine contains standard C1 axis in the list.
Declaration
virtual bool HasC1Axis { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasC2Axis
Returns "True" if the machine contains standard C2 axis in the list.
Declaration
virtual bool HasC2Axis { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasCAxis
Returns "True" if the machine contains standard C axis in the list.
Declaration
virtual bool HasCAxis { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasE1Axis
Returns "True" if the robot contains standard E1 external axis in the list.
Declaration
virtual bool HasE1Axis { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasE2Axis
Returns "True" if the robot contains standard E2 external axis in the list.
Declaration
virtual bool HasE2Axis { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasE3Axis
Returns "True" if the robot contains standard E3 external axis in the list.
Declaration
virtual bool HasE3Axis { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasXAxis
Returns "True" if the machine contains standard X axis in the list.
Declaration
virtual bool HasXAxis { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasYAxis
Returns "True" if the machine contains standard Y axis in the list.
Declaration
virtual bool HasYAxis { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasZAxis
Returns "True" if the machine contains standard Z axis in the list.
Declaration
virtual bool HasZAxis { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
MachineID
Textual identifier of the machine as it defined inside machine schema with a Type tag.
Declaration
string MachineID { get; }
Property Value
Type | Description |
---|---|
System.String |
MachineName
Textual name of the machine shown to users.
Declaration
string MachineName { get; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|---|
System.String | axisID | Unique textual identifier of the axis to find. |
Returns
Type | Description |
---|---|
System.Int32 | Returns the index of the axis with the given axisID. Returns "-1" if there is no axis with the given axisID in the list. |