EgtExecutor :

aggiunta funzione ExeGetCalcToolDirFromAngles.
This commit is contained in:
Dario Sassi
2015-12-11 15:59:25 +00:00
parent dbedf55a12
commit bdcb1ae7e9
+10
View File
@@ -1372,6 +1372,16 @@ ExeGetCalcTipFromPositions( double dX, double dY, double dZ, double dAngA, doubl
return pGseCtx->m_pMachMgr->GetCalcTipFromPositions( dX, dY, dZ, dAngA, dAngB, bBottom, ptTip) ;
}
//-----------------------------------------------------------------------------
bool
ExeGetCalcToolDirFromAngles( double dAngA, double dAngB, Vector3d& vtDir)
{
GseContext* pGseCtx = GetCurrGseContext() ;
VERIFY_CTX_MACHMGR( pGseCtx, false)
// calcolo il tip utensile dagli assi macchina
return pGseCtx->m_pMachMgr->GetCalcToolDirFromAngles( dAngA, dAngB, vtDir) ;
}
//-----------------------------------------------------------------------------
bool
ExeVerifyOutOfStroke( double dX, double dY, double dZ, double dAngA, double dAngB, int& nStat)