EgtExecutor 1.6e7 :

- aggiustamenti vari per macchina e lavorazioni.
This commit is contained in:
Dario Sassi
2015-05-26 06:50:52 +00:00
parent 63d85b005a
commit 785c9add4b
4 changed files with 40 additions and 5 deletions
+13 -3
View File
@@ -610,13 +610,13 @@ ExeSetCalcTool( const std::string& sTool, const std::string& sHead, int nExit)
//-----------------------------------------------------------------------------
bool
ExeGetCalcAngles( const Vector3d& vtDirT,
ExeGetCalcAngles( const Vector3d& vtDirT, const Vector3d& vtDirA,
int& nStat, double& dAngA1, double& dAngB1, double& dAngA2, double& dAngB2)
{
GseContext* pGseCtx = GetCurrGseContext() ;
VERIFY_CTX_MACHMGR( pGseCtx, false)
// calcolo gli angoli macchina dalla direzione fresa passata
return pGseCtx->m_pMachMgr->GetCalcAngles( vtDirT, nStat, dAngA1, dAngB1, dAngA2, dAngB2) ;
// calcolo gli angoli macchina dalle direzioni fresa e ausiliaria passate
return pGseCtx->m_pMachMgr->GetCalcAngles( vtDirT, vtDirA, nStat, dAngA1, dAngB1, dAngA2, dAngB2) ;
}
//-----------------------------------------------------------------------------
@@ -639,3 +639,13 @@ ExeVerifyOutOfStroke( double dX, double dY, double dZ, double dAngA, double dAng
// verifica l'extracorsa degli assi
return pGseCtx->m_pMachMgr->VerifyOutOfStroke( dX, dY, dZ, dAngA, dAngB, nStat) ;
}
//-----------------------------------------------------------------------------
int
ExeAddDrilling( const string& sName)
{
GseContext* pGseCtx = GetCurrGseContext() ;
VERIFY_CTX_MACHMGR( pGseCtx, false)
// verifica l'extracorsa degli assi
return pGseCtx->m_pMachMgr->AddDrilling( sName) ;
}