EgtExecutor 1.6e7 :
- aggiustamenti vari per macchina e lavorazioni.
This commit is contained in:
+13
-3
@@ -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) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user