WO112
- Last UpdatedMay 13, 2023
- 2 minute read
Name
WO112 - AutoSeq Interface routine - Add Plate Part
Purpose
The procedure adds a plate part.
Declaration
void wo112( const int PlatePartNo,
const int NumberOfContours, const char *PartName,
const char *PositionNumber, const char *Quality,
const double Thickness, const int QuantityNormal, const int QuantityMirror, const double PartLength, const double PartWidth, const double PartAngle,
const double MinCircRectOrigin[2], const double Cog[2],
const double Perimeter,
const double EffectivePartArea, const double BoundaryPartArea, const char *Assid1,
const char *Assid2, const char *Assid3, const char *Assid4, const char *Assembly,
const char *ProductionDate, const double RotationAngle, const int MirrorFlag);
Input
Parameters:
|
PlatePartNo |
The identification number for the plate part |
||
|
NumberOfContours |
The number of contours |
||
|
PartName |
The plate part name |
||
|
PositionNumber |
The plate part position number |
||
|
Quality |
The plate part quality |
||
|
Thickness |
The plate part thickness. |
||
|
QuantityNormal |
The number of normal parts |
||
|
QuantityMirror |
The number of mirrored parts |
||
|
PartLength |
The length of the part along the longer side of the least circumscribed rectangle |
||
|
PartWidth |
The width of the part along the shorter side of the least circumscribed rectangle |
||
|
MinCircRectOrigin |
The origin of the least circumscribed rectangle |
||
|
CoG |
The center of gravity of the plate part boundary. |
||
|
Perimeter |
The perimeter of the plate part |
||
|
EffectivePartArea |
The plate part area with the area of the holes subtracted. |
||
|
BoundaryPartArea |
The area of the plate part boundary |
||
|
Assid1- |
The assembly id’s 1-4 from the |
||
|
Assid4 |
General Purpose Strings (GPS) |
||
|
Assembly |
The plate part assembly |
||
|
ProductionDate |
The production date |
||
|
RotationAngle |
The rotation angle to be used in the nesting. |
||
|
MirrorFlag |
The mirror flag: |
||
|
0 |
= |
No mirroring allowed |
|
|
1 |
= |
Mirroring allowed |
|
Result
None.
- */
/*
External declarations
*/
extern "C"
{
#if !defined TBLSEQUENCEPLUGIN_API #define TBSEQUENCEPLUGIN_API
#endif
/*
*************************************************************
-
Main procedure - wo112
-
*************************************************************
*/
#ifdef WIN32 TBSEQUENCEPLUGIN_API
#endif
*/,
void wo112( const int /* PlatePartNo */,
const int /* NumberOfContours */, const char * /* PartName */,
const char * /* PositionNumber */, const char * /* Quality */,
const double /* Thickness */, const int /* QuantityNormal */, const int /* QuantityMirror */, const double /* PartLength */, const double /* PartWidth */, const double /* PartAngle */,
const double [2] /* MinCircRectOrigin
const double [2] /* Cog */, const double /* Perimeter */,
const double /* EffectivePartArea */, const double /* BoundaryPartArea */, const char * /* Assid1 */,
const char * /* Assid2 */, const char * /* Assid3 */, const char * /* Assid4 */, const char * /* Assembly */,
const char * /* ProductionDate */, const double /* RotationAngle */, const int /* MirrorFlag */)
{
}
}