WO102
- Last UpdatedMay 13, 2023
- 2 minute read
Name
WO102 - AutoSeq Interface routine - Add Nesting Info
Purpose
The procedure adds information for one nesting.
Declaration
void wo102( const char *NestName,
const int NestType, const double Length, const double Width, const double Thickness, const char *Quality, const int Nparts,
const int ContourDirection, const int HoleDirection, const int StartCode,
const int StartEndAct, const double StartNode, const double BridgeWidth,
const double BridgeWidthHole, const double StartPosition[2], const double EndPosition[2], const double EndMarkPosition[2], const int MarkingFirst,
const int MarkingOpposite, const double HoleStart, const int HoleStartType);
Input
Parameters:
|
NestName |
The name of the nesting |
||
|
NestType |
The type of nesting: |
||
|
= |
0 |
Normal |
|
|
= |
1 |
NC |
|
|
= |
2 |
FP |
|
|
Length |
The raw plate length |
||
|
Width |
The raw plate width |
||
|
Thickness |
The raw plate thickness |
||
|
Quality |
The raw plate quality |
||
|
Nparts |
The number of nested parts |
||
|
ContourDirection |
The cutting direction of the outer contours (Nesting default CONT_DIRECTION) |
||
|
HoleDirection |
The cutting direction of the holes (Nesting default HOLE_DIRECTION) |
||
|
StartCode |
The start code (Nesting default START_CODE) |
||
|
StartEndAct |
Start/end position code (Nesting default START_END_ACT) |
||
|
StartNode |
Start node preference (Nesting default START_NODE) |
||
|
BridgeWidth |
The bridge width (Nesting default BRIDGE_WIDTH) |
||
|
BridgeWidthHole |
The bridge width for holes (Nesting default RIDGE_WIDTH_HOLE) |
||
|
StartPosition |
Start position (Nesting default START_POS) |
||
|
EndPosition |
End position (Nesting default END_POS) |
||
|
EndMarkPosition |
End marking position (Nesting default END_MARK_POS) |
||
|
MarkingFirst |
Partwise/platewise marking (Nesting default MARKING_ALL_FIRST) |
||
|
MarkingOpposite |
Automatic marking of other side (Nesting default MARK_AUTO_OPPOSITE) |
||
|
HoleStart |
Angle used to determine the starting point on a hole (Nesting default START_DIR_HOLE) |
||
|
HoleStartType |
The type of hole for which HoleStart shall be used (Nesting default START_DIR_HOLE_TYPE) |
||
Result
None.
/
/*
* External declarations
*/
extern "C"
{
#if !defined TBLSEQUENCEPLUGIN_API #define TBSEQUENCEPLUGIN_API
#endif
/*
************************************************************
*
* Main procedure - wo102
*
************************************************************
*/
#ifdef WIN32 TBSEQUENCEPLUGIN_API
#endif
void wo102( const char * /* NestName */,
const int /* NestType */, const double /* Length */, const double /* Width */, const double /* Thickness */, const char * /* Quality */, const int /* Nparts */,
const int /* ContourDirection */, const int /* HoleDirection */, const int /* StartCode */,
const int /* StartEndAct */, const double /* StartNode */, const double /* BridgeWidth */,
const double /* BridgeWidthHole */, const double [2] /* StartPosition */, const double [2] /* EndPosition */, const double [2] /* EndMarkPosition */, const int /* MarkingFirst */,
const int /* MarkingOpposite */, const double /* HoleStart */, const int /* HoleStartType */)
{
}
}