WO014
- Last UpdatedMay 12, 2023
- 1 minute read
Name
WO014 - AutoNest Interface routine - Get Plate Part Transformation
Purpose
The procedure gets the transformation matrix for the nested part.
Declaration
void wo014( const int NestedPlateNo,
const int NestedPartNo, int& PlatePartNo,
int& Nested, double& Dx, double& Dy, double& Angle, int& Mirr);
Input
Parameters:
|
NestedPlateNo |
The identification number for the nested plate |
|
NestedPartNo |
The identification number for the nested plate part within the current nesting, starting from 1 |
Result
Parameters:
|
PlatePartNo |
The global identification number for the nested part |
||
|
Nested |
TRUE |
if the plate part has been nested, otherwise |
|
|
FALSE |
The following parameters describe the transformation of the plate part from its local co-ordinate system to the nested plate. |
||
|
The transformation is applied in the following order: Rotation Reflection Translation |
|||
|
Dx |
Plate part translation Dy |
||
|
Angle |
Plate part rotation |
||
|
Mirr |
Plate part mirror code: |
||
|
0 |
= |
Plate part not mirrored. |
|
|
1 |
= |
Plate part mirrored in the x-axis |
|
|
2 |
= |
Plate part mirrored in the y-axis |
|
/
/*
External declarations
*/
extern "C"
{
#if !defined TBLAYOUTPLUGIN_API #define TBLAYOUTPLUGIN_API
#endif
/*
**********************************************************************
Main procedure - wo014
**********************************************************************
*/
#ifdef WIN32 TBLAYOUTPLUGIN_API
#endif
void wo014( const int /* NestedPlateNo */, const int /* NestedPartNo */, int& /* PlatePartNo */,
int& /*Nested */, double& /*Dx */, double& /*Dy */, double& /*Angle */, int& /*Mirr */)
{
}
}