EgtMachKernel 2.1g4 :
- modifiche a gestione DB lavorazioni per conservare soli dati della versione del DB letta - aggiunto a DB lavorazioni parametro generale MaxDepthSafe - utilizzo del parametro sopraindicato per calcolo MaxDepth delle frese.
This commit is contained in:
+6
-1
@@ -254,8 +254,13 @@ MachMgr::TdbGetCurrToolMaxDepth( double& dMaxDepth) const
|
||||
ToolsMgr* pTsMgr = GetCurrToolsMgr() ;
|
||||
if ( pTsMgr == nullptr)
|
||||
return false ;
|
||||
// recupero la sicurezza da aggiungere al massimo affondamento
|
||||
MachiningsMgr* pMsMgr = GetCurrMachiningsMgr() ;
|
||||
if ( pMsMgr == nullptr)
|
||||
return false ;
|
||||
double dSafe = pMsMgr->GetMaxDepthSafe() ;
|
||||
// recupero il massimo affondamento
|
||||
return pTsMgr->GetCurrToolMaxDepth( dMaxDepth) ;
|
||||
return pTsMgr->GetCurrToolMaxDepth( dSafe, dMaxDepth) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user