diff --git a/EExImportBtl.h b/EExImportBtl.h index dd13349..210f2f0 100644 --- a/EExImportBtl.h +++ b/EExImportBtl.h @@ -29,7 +29,8 @@ class __declspec( novtable) IImportBtl { public : virtual ~IImportBtl( void) {} - virtual bool Import( const std::string& sFile, IGeomDB* pGDB, bool bFlatPos = false) = 0 ; + virtual bool Import( const std::string& sFile, IGeomDB* pGDB, + bool bFlatPos = false, bool bSpecialTrim = false) = 0 ; } ; //----------------------------------------------------------------------------- diff --git a/EGkSurfTriMesh.h b/EGkSurfTriMesh.h index b5c1ec5..2bbbbc6 100644 --- a/EGkSurfTriMesh.h +++ b/EGkSurfTriMesh.h @@ -63,6 +63,7 @@ class __declspec( novtable) ISurfTriMesh : public ISurf virtual bool GetVertexSmoothNormal( int nV, int nT, Vector3d& vtN) const = 0 ; virtual bool GetTriangleBoundaryEdges( int nId, TriFlags3d& TFlags) const = 0 ; virtual bool GetTriangleSmoothNormals( int nId, TriNormals3d& TNrms) const = 0 ; + virtual bool GetLoops( POLYLINEVECTOR& vPL) const = 0 ; virtual int GetFacetCount( void) const = 0 ; virtual int GetFacetSize( void) const = 0 ; virtual int GetFacetFromTria( int nT) const = 0 ; diff --git a/EInAPI.h b/EInAPI.h index 79e0f98..6699bfb 100644 --- a/EInAPI.h +++ b/EInAPI.h @@ -86,7 +86,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) ; EIN_EXPORT BOOL __stdcall EgtImportCsf( const wchar_t* wsFilePath) ; -EIN_EXPORT BOOL __stdcall EgtImportBtl( const wchar_t* wsFilePath, BOOL bFlatPos) ; +EIN_EXPORT BOOL __stdcall EgtImportBtl( const wchar_t* wsFilePath, BOOL bFlatPos, BOOL bSpecialTrim) ; EIN_EXPORT BOOL __stdcall EgtExportDxf( int nId, const wchar_t* wsFilePath) ; EIN_EXPORT BOOL __stdcall EgtExportStl( int nId, const wchar_t* wsFilePath) ; diff --git a/EXeExecutor.h b/EXeExecutor.h index b2753fc..28fb45e 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -87,7 +87,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) ; EXE_EXPORT bool ExeImportCsf( const std::string& sFilePath) ; -EXE_EXPORT bool ExeImportBtl( const std::string& sFilePath, bool bFlatPos) ; +EXE_EXPORT bool ExeImportBtl( const std::string& sFilePath, bool bFlatPos, bool bSpecialTrim) ; EXE_EXPORT bool ExeExportDxf( int nId, const std::string& sFilePath) ; EXE_EXPORT bool ExeExportStl( int nId, const std::string& sFilePath) ; @@ -387,6 +387,7 @@ EXE_EXPORT bool ExeSurfFrSubtract( int nId1, int nId2) ; EXE_EXPORT bool ExeSurfFrIntersect( int nId1, int nId2) ; EXE_EXPORT bool ExeSurfFrOffset( int nId, double dDist, int nType) ; EXE_EXPORT int ExeExtractSurfFrChunkLoops( int nId, int nChunk, int nDestGrpId, int* pnCount) ; +EXE_EXPORT int ExeExtractSurfTmLoops( int nId, int nDestGrpId, int* pnCount) ; EXE_EXPORT int ExeExtractSurfTmFacetLoops( int nId, int nFacet, int nDestGrpId, int* pnCount) ; // Geo Snap Vector/Point/Frame