Include :
- aggiornamento prototipi - aggiunte costanti per AutoNester.
This commit is contained in:
@@ -44,6 +44,7 @@ class __declspec( novtable) IAutoNester
|
||||
virtual ~IAutoNester( void) {}
|
||||
virtual bool Start( void) = 0 ;
|
||||
virtual bool SetGuillotineMode( void) = 0 ;
|
||||
virtual bool SetStartCorner( int nCorner) = 0 ;
|
||||
virtual bool AddSheet( int nSheetId, const PolyArc& Outline, double dKerf, int nPriority, int nCount, bool* pbIsRect = nullptr) = 0 ;
|
||||
virtual bool AddDefectToSheet( int nSheetId, const PolyArc& Outline) = 0 ;
|
||||
virtual bool AddPart( int nPartId, const PolyArc& Outline, bool bCanFlip, bool bCanRotate, double dRotStep, int nPriority, int nCount) = 0 ;
|
||||
@@ -63,3 +64,16 @@ class __declspec( novtable) IAutoNester
|
||||
extern "C" {
|
||||
ENS_EXPORT IAutoNester* CreateAutoNester(void) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
const int NST_CORNER_BL = 0 ;
|
||||
const int NST_CORNER_TL = 1 ;
|
||||
const int NST_CORNER_BR = 2 ;
|
||||
const int NST_CORNER_TR = 3 ;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
const int NST_STATUS_ERR = -1 ;
|
||||
const int NST_STATUS_CANC = 0 ;
|
||||
const int NST_STATUS_COMP = 1 ;
|
||||
const int NST_STATUS_INTRES = 2 ;
|
||||
const int NST_STATUS_OK = 3 ;
|
||||
|
||||
@@ -772,6 +772,7 @@ EXE_EXPORT int ExeVerifyCutAsSplitting( int nMchId) ;
|
||||
// AutoNesting
|
||||
EXE_EXPORT bool ExeAutoNestStart( void) ;
|
||||
EXE_EXPORT bool ExeAutoNestSetGuillotineMode( void) ;
|
||||
EXE_EXPORT bool ExeAutoNestSetStartCorner( int nCorner) ;
|
||||
EXE_EXPORT bool ExeAutoNestAddSheet( int nSheetId, int nOutlineId, double dKerf, int nPriority, int nCount, bool* pbIsRect = nullptr) ;
|
||||
EXE_EXPORT bool ExeAutoNestAddDefectToSheet( int nSheetId, int nDefectId) ;
|
||||
EXE_EXPORT bool ExeAutoNestAddPart( int nPartId, int nOutlineId, bool bCanFlip, bool bCanRotate, double dRotStep, int nPriority, int nCount) ;
|
||||
|
||||
Reference in New Issue
Block a user