WO004
- Last UpdatedMay 12, 2023
- 1 minute read
Name
WO004 - AutoNest Interface routine - Add Segment Part for Raw Plate PURPOSE:
Purpose
The procedure adds one segment part for the raw plate contour. The first segment part consists only of the starting point. Each successive segment part contains the amplitude vector and the ending point. 2 consecutive segment parts constitues one segment.
Declaration
void wo004( const int RawPlateNo,
const int SegPart, const int SegType, const double AmpU, const double AmpV, const double EndU, const double EndV);
Input
Parameters:
|
RawPlateNo |
The identification number for the raw plate |
||
|
SegPart |
The segment part number, starting from |
||
|
SegType |
The segment part type: |
||
|
0 |
= |
The starting point |
|
|
1 |
= |
Line |
|
|
2 |
= |
Arc |
|
|
AmpU |
The amplitude vector AmpV |
||
|
EndU |
The ending point EndV |
||
Result
None.
/
/*
External declarations
*/
extern "C"
{
#if !defined TBLAYOUTPLUGIN_API #define TBLAYOUTPLUGIN_API
#endif
/*
**********************************************************************
Main procedure - wo004
**********************************************************************
*/
#ifdef WIN32 TBLAYOUTPLUGIN_API
#endif
void wo004( const int /* RawPlateNo */,
const int /* SegPart */, const int /* SegType */, const double /* AmpU */, const double /* AmpV */, const double /* EndU */, const double /* EndV */)
{
/* Store the given data in the C++ structure from wo003.
Allocate C++ structure for the raw plate contour with the given
number of segment parts. The contour will be added in wo004.
*/
}
}