Interface INCT_DrillingCycleFormer
This CAM interface simplifies drilling cycle movements. It is returned by CreateDrillingCycleFormer functions when called with parameters: dctSimple, dctWithShift, or dctPeck
Namespace: STNCFormers
Assembly: STNCFormers.dll
Syntax
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("139E2F32-CB06-4259-BF79-6024100E7B07")]
public interface INCT_DrillingCycleFormer
Properties
AxisIndexes
The method sets the axis indexes (X, Y, Z) for cycle movements. It takes Value (TNCDCAxisIndexes) as input. The function returns the axis indexes used during cycle path formation, with no input parameters
Declaration
TNCDCAxisIndexes AxisIndexes { get; set; }
Property Value
| Type | Description |
|---|---|
| TNCDCAxisIndexes |
BottomLevel
The method sets the bottom level of the hole along the drilling axis using Value. It returns the current bottom level as a number. No input parameters
Declaration
double BottomLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
BottomPoint
The function returns the bottom point coordinates calculated for the current iteration (TNC3DPoint). Value is available for use only inside the events. (Set_Events)
Declaration
TNC3DPoint BottomPoint { get; }
Property Value
| Type | Description |
|---|---|
| TNC3DPoint |
Count
Sets cycle repetitions with Value. Returns the number of repetitions. Behavior depends on hole center mode: absolute positions position once or repeat; relative positions shift each time. No output parameters
Declaration
int Count { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Events
The method assigns event controls to the loop using Value (INCT_DrillingCycleEvents). It returns an object implementing these events, enabling features like stop, thread cutting, feed changes, or skipping movements. No output parameters
Declaration
object Events { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
Feedrate
The method sets the work feed value using Value. It returns the current feed value as a number. No input parameters
Declaration
double Feedrate { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
HoleCenter
The method sets the hole center coordinates (X, Y, Z) using Value. The function returns the hole center point (TNC3DPoint). No output parameters
Declaration
TNC3DPoint HoleCenter { get; set; }
Property Value
| Type | Description |
|---|---|
| TNC3DPoint |
HoleCenterMode
The method sets the center point mode: True for absolute coordinates, False for relative. It takes Value as input and returns the current mode as a boolean. No output parameters
Declaration
bool HoleCenterMode { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
MPM
The method sets the feed unit sign: True for mm/min, False for mm/rev. It returns the current sign as a boolean. No output parameters
Declaration
bool MPM { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
NextHole
This function provides the current hole point coordinates (TNC3DPoint) for the ongoing iteration. The Value is accessible only within the Set_Events context
Declaration
TNC3DPoint NextHole { get; }
Property Value
| Type | Description |
|---|---|
| TNC3DPoint |
Plane
The method sets the current plane using Value (TNCPlaneType): ptXY, ptYZ, or ptZX. It returns the current plane as TNCPlaneType. No input parameters
Declaration
TNCPlaneType Plane { get; set; }
Property Value
| Type | Description |
|---|---|
| TNCPlaneType |
RapidLevel
The method sets the accelerated path level along the drilling axis using Value. It returns the current level as a number. No input parameters
Declaration
double RapidLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
RapidPoint
The function returns the coordinates of the accelerated moving point calculated for the current iteration (TNC3DPoint). Value is available for use only inside the events. (Set_Events)
Declaration
TNC3DPoint RapidPoint { get; }
Property Value
| Type | Description |
|---|---|
| TNC3DPoint |
TopLevel
The method sets the retract/return level along the drilling axis using Value. It returns the current retract/return level as a number. No input parameters
Declaration
double TopLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
TopPoint
The function returns the coordinates of the point of retract/return calculated for the current iteration. (TNC3DPoint). Value is available for use only inside the events. (Set_Events)
Declaration
TNC3DPoint TopPoint { get; }
Property Value
| Type | Description |
|---|---|
| TNC3DPoint |
Methods
MakeWorkpath()
The method forms a cycle trajectory according to specified parameters
Declaration
void MakeWorkpath()