EgtExecutor 2.1j2 :

- aggiunte funzione Exe e Lua TdbGetCurrToolThDiam.
This commit is contained in:
Dario Sassi
2019-10-07 06:42:36 +00:00
parent 8e702207de
commit 3cd59132dd
3 changed files with 28 additions and 1 deletions
+11 -1
View File
@@ -1308,6 +1308,16 @@ ExeTdbGetCurrToolMaxDepth( double& dMaxDepth)
return pMachMgr->TdbGetCurrToolMaxDepth( dMaxDepth) ;
}
//-----------------------------------------------------------------------------
bool
ExeTdbGetCurrToolThDiam( double& dThDiam)
{
IMachMgr* pMachMgr = GetCurrMachMgr() ;
VERIFY_MACHMGR( pMachMgr, false)
// recupero il diametro del portautensili
return pMachMgr->TdbGetCurrToolThDiam( dThDiam) ;
}
//-----------------------------------------------------------------------------
int
ExeTdbCurrToolDraw( int nGenCtx, int nToolCtx)
@@ -1315,7 +1325,7 @@ ExeTdbCurrToolDraw( int nGenCtx, int nToolCtx)
ExeSetCurrentContext( nGenCtx) ;
IMachMgr* pMachMgr = GetCurrMachMgr() ;
VERIFY_MACHMGR( pMachMgr, 999)
// recupero il massimo affondamento dell'utensile
// recupero il disegno dell'utensile
return pMachMgr->TdbCurrToolDraw( nGenCtx, nToolCtx) ;
}