EgtInterface 1.6v3 :

- estesa EgtKeepRawPart e aggiunta EgtKeepFixture.
This commit is contained in:
Dario Sassi
2016-10-17 08:00:26 +00:00
parent 4df5965a2b
commit 28dabdccc8
2 changed files with 59 additions and 3 deletions
+59 -3
View File
@@ -241,9 +241,9 @@ __stdcall EgtModifyRawPartHeight( int nRawId, double dHeight)
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtKeepRawPart( int nRawId)
__stdcall EgtKeepRawPart( int nRawId, int nSouPhase)
{
return ( ExeKeepRawPart( nRawId) ? TRUE : FALSE) ;
return ( ExeKeepRawPart( nRawId, nSouPhase) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
@@ -393,6 +393,62 @@ __stdcall EgtShowOnlyTable( bool bVal)
return ( ExeShowOnlyTable( bVal) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
int
__stdcall EgtAddFixture( const wchar_t* wsName, const double ptPos[3], double dAngRotDeg, double dMov)
{
return ExeAddFixture( wstrztoA( wsName), ptPos, dAngRotDeg, dMov) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtKeepFixture( int nFxtId, int nSouPhase)
{
return ( ExeKeepFixture( nFxtId, nSouPhase) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtRemoveFixture( int nFxtId)
{
return ( ExeRemoveFixture( nFxtId) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
int
__stdcall EgtGetFirstFixture( void)
{
return ExeGetFirstFixture() ;
}
//-----------------------------------------------------------------------------
int
__stdcall EgtGetNextFixture( int nFxtId)
{
return ExeGetNextFixture( nFxtId) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtMoveFixture( int nFxtId, const double vtMove[3])
{
return ( ExeMoveFixture( nFxtId, vtMove) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtRotateFixture( int nFxtId, double dDeltaAngDeg)
{
return ( ExeRotateFixture( nFxtId, dDeltaAngDeg) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtMoveFixtureMobile( int nFxtId, double dDeltaMov)
{
return ( ExeMoveFixtureMobile( nFxtId, dDeltaMov) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
// Tools DataBase
//-----------------------------------------------------------------------------
@@ -595,7 +651,7 @@ __stdcall EgtTdbGetToolHolderDir( wchar_t*& wsTHolderDir)
}
//-----------------------------------------------------------------------------
// Machiningss DataBase
// Machinings DataBase
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtMdbGetMachiningNewName( const wchar_t* wsName, wchar_t*& wsNewName)