Include :

- aggiornamenti.
This commit is contained in:
Dario Sassi
2016-10-26 16:07:02 +00:00
parent 57770e4479
commit f993196130
4 changed files with 16 additions and 6 deletions
+9 -4
View File
@@ -1,13 +1,13 @@
//----------------------------------------------------------------------------
// EgalTech 2014-2014
// EgalTech 2014-2016
//----------------------------------------------------------------------------
// File : EExImportCnc.h Data : 15.09.14 Versione : 1.5i3
// File : EExImportCnc.h Data : 25.10.16 Versione : 1.6v6
// Contenuto : Dichiarazione della interfaccia IImportCnc.
//
//
//
// Modifiche : 15.09.14 DS Creazione modulo.
//
// 25.10.16 DS Aggiunto flag.
//
//----------------------------------------------------------------------------
@@ -29,10 +29,15 @@ class __declspec( novtable) IImportCnc
{
public :
virtual ~IImportCnc( void) {}
virtual bool Import( const std::string& sFile, IGeomDB* pGDB, int nIdGroup) = 0 ;
virtual bool Import( const std::string& sFile, IGeomDB* pGDB, int nIdGroup, int nFlag) = 0 ;
} ;
//-----------------------------------------------------------------------------
extern "C" {
EEX_EXPORT IImportCnc* CreateImportCnc( void) ;
}
//-----------------------------------------------------------------------------
enum EImCncFlag { EICFLAG_NONE = 0x0000,
EICFLAG_CHAIN = 0x0001,
EICFLAG_SKIP_RAPID = 0x0002} ;
+1 -1
View File
@@ -90,7 +90,7 @@ EIN_EXPORT BOOL __stdcall EgtSaveObjToFile( int nId, const wchar_t* wsFilePath,
EIN_EXPORT int __stdcall EgtGetFileType( const wchar_t* wsFilePath) ;
EIN_EXPORT BOOL __stdcall EgtImportDxf( const wchar_t* wsFilePath, double dScaleFactor) ;
EIN_EXPORT BOOL __stdcall EgtImportStl( const wchar_t* wsFilePath, double dScaleFactor) ;
EIN_EXPORT BOOL __stdcall EgtImportCnc( const wchar_t* wsFilePath) ;
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 EgtExportDxf( int nId, const wchar_t* wsFilePath) ;
+5
View File
@@ -52,6 +52,11 @@ enum ApprType{ APP_LINES = 0, // come ICurve::APL_STD
APP_RIGHT_CONVEX_LINES = 12, // come ICurve::APL_RIGHT_CONVEX
APP_ARCS = 3} ;
//----------------- 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
//----------------- Costanti tipo costruzione pezzi piani ----------------------
enum FpcType{ FPC_NGE = 0, // costruzione da pezzo Nge
FPC_REGION = 1, // costruzione da regione
+1 -1
View File
@@ -94,7 +94,7 @@ EXE_EXPORT bool ExeSaveObjToFile( int nId, const std::string& sFilePath, int nFl
EXE_EXPORT int ExeGetFileType( const std::string& sFilePath) ;
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) ;
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 ExeExportDxf( int nId, const std::string& sFilePath) ;