EgtExecutor 2.1j2 :
- aggiunte funzione Exe e Lua TdbGetCurrToolThDiam.
This commit is contained in:
+11
-1
@@ -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) ;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user