EgtExecutor 1.6l9 :
- modifiche varie - aggiunta funzione EXE e LUA GetOutstrokeInfo - rinominata funzione EXE e LUA VerifyOutOfStroke in VerifyOutStroke.
This commit is contained in:
+39
-8
@@ -1093,22 +1093,32 @@ ExeRemoveAllOperations( void)
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeSetOperationMode( int nId, bool bShow)
|
||||
ExeSetOperationMode( int nId, bool bActive)
|
||||
{
|
||||
GseContext* pGseCtx = GetCurrGseContext() ;
|
||||
VERIFY_CTX_MACHMGR( pGseCtx, false)
|
||||
// imposto lo stato di visualizzazione dell'operazione
|
||||
return pGseCtx->m_pMachMgr->SetOperationMode( nId, bShow) ;
|
||||
// imposto lo stato dell'operazione
|
||||
return pGseCtx->m_pMachMgr->SetOperationMode( nId, bActive) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeSetAllOperationsMode( bool bShow)
|
||||
ExeGetOperationMode( int nId, bool& bActive)
|
||||
{
|
||||
GseContext* pGseCtx = GetCurrGseContext() ;
|
||||
VERIFY_CTX_MACHMGR( pGseCtx, false)
|
||||
// imposto lo stato di visualizzazione di tutte le operazioni
|
||||
return pGseCtx->m_pMachMgr->SetAllOperationsMode( true, bShow) ;
|
||||
// recupero lo stato dell'operazione
|
||||
return pGseCtx->m_pMachMgr->GetOperationMode( nId, bActive) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeSetAllOperationsMode( bool bActive)
|
||||
{
|
||||
GseContext* pGseCtx = GetCurrGseContext() ;
|
||||
VERIFY_CTX_MACHMGR( pGseCtx, false)
|
||||
// imposto lo stato di tutte le operazioni
|
||||
return pGseCtx->m_pMachMgr->SetAllOperationsMode( true, bActive) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
@@ -1121,6 +1131,16 @@ ExeSetOperationStatus( int nId, bool bShow)
|
||||
return pGseCtx->m_pMachMgr->SetOperationStatus( nId, bShow) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeGetOperationStatus( int nId, bool& bShow)
|
||||
{
|
||||
GseContext* pGseCtx = GetCurrGseContext() ;
|
||||
VERIFY_CTX_MACHMGR( pGseCtx, false)
|
||||
// recupero lo stato di visualizzazione dell'operazione
|
||||
return pGseCtx->m_pMachMgr->GetOperationStatus( nId, bShow) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeSetAllOperationsStatus( bool bShow)
|
||||
@@ -1443,12 +1463,23 @@ ExeGetCalcToolDirFromAngles( double dAngA, double dAngB, Vector3d& vtDir)
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeVerifyOutOfStroke( double dX, double dY, double dZ, double dAngA, double dAngB, int& nStat)
|
||||
ExeVerifyOutstroke( double dX, double dY, double dZ, double dAngA, double dAngB, int& nStat)
|
||||
{
|
||||
GseContext* pGseCtx = GetCurrGseContext() ;
|
||||
VERIFY_CTX_MACHMGR( pGseCtx, false)
|
||||
// verifica l'extracorsa degli assi
|
||||
return pGseCtx->m_pMachMgr->VerifyOutOfStroke( dX, dY, dZ, dAngA, dAngB, nStat) ;
|
||||
return pGseCtx->m_pMachMgr->VerifyOutstroke( dX, dY, dZ, dAngA, dAngB, nStat) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeGetOutstrokeInfo( string& sInfo)
|
||||
{
|
||||
GseContext* pGseCtx = GetCurrGseContext() ;
|
||||
VERIFY_CTX_MACHMGR( pGseCtx, false)
|
||||
// recupero informazioni su extracorsa degli assi
|
||||
sInfo = pGseCtx->m_pMachMgr->GetOutstrokeInfo() ;
|
||||
return ( ! sInfo.empty()) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user