EgtInterface 1.5l1 :

- aggiornamento a VS2013
- alle curve si assegna in automatico estrusione come Z di griglia
- aggiunta gestione direttorio per librerie Lua
- aggiunta gestione frame di griglia (CPlane) in GeomDB
- aggiunta gestione visualizzazione riferimento globale
- aggiunto comando Lua EgtOffsetCurve
- aggiunti comandi Lua EgtExecTsc, EgtOutLog, EgtEraseFile, EgtEmptyDirectory, EgtTextFileCompare, EgtBinaryFileCompare, EgtGetVersion
- aggiunti comandi Lua EgtSetGridFrame, EgtGetGridFrame, EgtGetGridVersZ.
This commit is contained in:
Dario Sassi
2014-12-17 15:19:20 +00:00
parent 339777e202
commit 517a36a009
19 changed files with 562 additions and 88 deletions
+2 -2
View File
@@ -257,7 +257,7 @@ __stdcall EgtSplitCurveAtPoint( int nId, double ptOn[3])
//----------------------------------------------------------------------------
BOOL
__stdcall EgtOffsetCurve( int nId, double dDist, int nSide, int nType)
__stdcall EgtOffsetCurve( int nId, double dDist, int nType)
{
IGeomDB* pGeomDB = GetCurrGeomDB() ;
VERIFY_GEOMDB( pGeomDB, FALSE)
@@ -266,7 +266,7 @@ __stdcall EgtOffsetCurve( int nId, double dDist, int nSide, int nType)
if ( pCurve == nullptr)
return FALSE ;
// eseguo l'offset
return ( pCurve->Offset( dDist, nSide, nType) ? TRUE : FALSE) ;
return ( pCurve->SimpleOffset( dDist, nType) ? TRUE : FALSE) ;
}
//-------------------------------------------------------------------------------