EgtMachKernel 2.2j2 :

- aggiunta funzione TdbGetCurrToolThLength in MachMgr.
This commit is contained in:
Dario Sassi
2020-10-15 07:44:28 +00:00
parent a482cb4fa9
commit 01f404b5e2
5 changed files with 50 additions and 0 deletions
+12
View File
@@ -383,6 +383,18 @@ MachMgr::TdbGetCurrToolThDiam( double& dThDiam) const
return pTsMgr->GetCurrToolThDiam( dThDiam) ;
}
//----------------------------------------------------------------------------
bool
MachMgr::TdbGetCurrToolThLength( double& dThLen) const
{
// recupero il gestore di utensili della macchina corrente
ToolsMgr* pTsMgr = GetCurrToolsMgr() ;
if ( pTsMgr == nullptr)
return false ;
// recupero la lunghezza del portautensili
return pTsMgr->GetCurrToolThLength( dThLen) ;
}
//----------------------------------------------------------------------------
int
MachMgr::TdbCurrToolDraw( int nGenCtx, int nToolCtx) const