Include :
- modifiche prototipi e costanti.
This commit is contained in:
+7
-2
@@ -29,11 +29,16 @@ class __declspec( novtable) IImportBtl
|
||||
{
|
||||
public :
|
||||
virtual ~IImportBtl( void) {}
|
||||
virtual bool Import( const std::string& sFile, IGeomDB* pGDB,
|
||||
bool bFlatPos = false, bool bSpecialTrim = false) = 0 ;
|
||||
virtual bool Import( const std::string& sFile, IGeomDB* pGDB, int nFlag = 0) = 0 ;
|
||||
} ;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
extern "C" {
|
||||
EEX_EXPORT IImportBtl* CreateImportBtl( void) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
enum EImBtlFlag { EIBFLAG_NONE = 0x0000,
|
||||
EIBFLAG_FLAT_POS = 0x0001, // pezzi di piatto (prevale sul successivo)
|
||||
EIBFLAG_VERT_POS = 0x0002, // pezzi in verticale
|
||||
EIBFLAG_SPECIAL_TRIM = 0x0004} ; // trim speciale per pareti
|
||||
|
||||
+2
-2
@@ -29,7 +29,7 @@ class __declspec( novtable) IImportCnc
|
||||
{
|
||||
public :
|
||||
virtual ~IImportCnc( void) {}
|
||||
virtual bool Import( const std::string& sFile, IGeomDB* pGDB, int nIdGroup, int nFlag) = 0 ;
|
||||
virtual bool Import( const std::string& sFile, IGeomDB* pGDB, int nIdGroup, int nFlag = 0) = 0 ;
|
||||
} ;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
@@ -41,4 +41,4 @@ extern "C" {
|
||||
enum EImCncFlag { EICFLAG_NONE = 0x0000,
|
||||
EICFLAG_CHAIN = 0x0001,
|
||||
EICFLAG_SKIP_ZEROMACH = 0x0002,
|
||||
EICFLAG_SKIP_RAPID = 0x0004,} ;
|
||||
EICFLAG_SKIP_RAPID = 0x0004} ;
|
||||
|
||||
@@ -96,7 +96,7 @@ EIN_EXPORT BOOL __stdcall EgtImportDxf( const wchar_t* wsFilePath, double dScale
|
||||
EIN_EXPORT BOOL __stdcall EgtImportStl( const wchar_t* wsFilePath, double dScaleFactor) ;
|
||||
EIN_EXPORT BOOL __stdcall EgtImportCnc( const wchar_t* wsFilePath, int nFlag) ;
|
||||
EIN_EXPORT BOOL __stdcall EgtImportCsf( const wchar_t* wsFilePath) ;
|
||||
EIN_EXPORT BOOL __stdcall EgtImportBtl( const wchar_t* wsFilePath, BOOL bFlatPos, BOOL bSpecialTrim) ;
|
||||
EIN_EXPORT BOOL __stdcall EgtImportBtl( const wchar_t* wsFilePath, int nFlag) ;
|
||||
EIN_EXPORT BOOL __stdcall EgtExportDxf( int nId, const wchar_t* wsFilePath) ;
|
||||
EIN_EXPORT BOOL __stdcall EgtExportStl( int nId, const wchar_t* wsFilePath) ;
|
||||
|
||||
|
||||
+8
-1
@@ -56,7 +56,14 @@ enum ApprType{ APP_LINES = 0, // come ICurve::APL_STD
|
||||
//----------------- Costanti flag import CNC -----------------------------------
|
||||
enum EicFlag { EIC_FLAG_NONE = 0, // come EImCncFlag::EICFLAG_NONE
|
||||
EIC_FLAG_CHAIN = 1, // come EImCncFlag::EICFLAG_CHAIN
|
||||
EIC_FLAG_SKIP_RAPID = 2} ; // come EImCncFlag::EICFLAG_SKIP_RAPID
|
||||
EIC_FLAG_SKIP_ZEROMACH = 2, // come EImCncFlag::EICFLAG_SKIP_ZEROMACH
|
||||
EIC_FLAG_SKIP_RAPID = 4} ; // come EImCncFlag::EICFLAG_SKIP_RAPID
|
||||
|
||||
//----------------- Costanti flag import BTL -----------------------------------
|
||||
enum EibFlag { EIB_FLAG_NONE = 0, // come EImBtlFlag::EIBFLAG_NONE
|
||||
EIB_FLAG_FLAT_POS = 1, // come EImBtlFlag::EIBFLAG_FLAT_POS
|
||||
EIB_FLAG_VERT_POS = 2, // come EImBtlFlag::EIBFLAG_VERT_POS
|
||||
EIB_FLAG_SPECIAL_TRIM = 4} ; // come EImBtlFlag::EIBFLAG_SPECIAL_TRIM
|
||||
|
||||
//----------------- Costanti tipo costruzione pezzi piani ----------------------
|
||||
enum FpcType{ FPC_NGE = 0, // costruzione da pezzo Nge
|
||||
|
||||
+1
-1
@@ -100,7 +100,7 @@ EXE_EXPORT bool ExeImportDxf( const std::string& sFilePath, double dScaleFactor)
|
||||
EXE_EXPORT bool ExeImportStl( const std::string& sFilePath, double dScaleFactor) ;
|
||||
EXE_EXPORT bool ExeImportCnc( const std::string& sFilePath, int nFlag) ;
|
||||
EXE_EXPORT bool ExeImportCsf( const std::string& sFilePath) ;
|
||||
EXE_EXPORT bool ExeImportBtl( const std::string& sFilePath, bool bFlatPos, bool bSpecialTrim) ;
|
||||
EXE_EXPORT bool ExeImportBtl( const std::string& sFilePath, int nFlag) ;
|
||||
EXE_EXPORT bool ExeExportDxf( int nId, const std::string& sFilePath) ;
|
||||
EXE_EXPORT bool ExeExportStl( int nId, const std::string& sFilePath) ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user