EgtMachKernel 1.8d1 :

- aggiunti a fresature attacchi e uscite ad inseguimento
- corretti problemi con verifica collisioni
- corretti problemi con caricamento utensili su testa con TC.
This commit is contained in:
Dario Sassi
2017-04-05 06:49:54 +00:00
parent 493ff4b9e4
commit b8e19d367c
7 changed files with 169 additions and 77 deletions
+3 -2
View File
@@ -211,6 +211,9 @@ Machine::SetCurrTool( const string& sTool, const string& sHead, int nExit)
double dTOvDiam = 0 ;
// se definito
if ( ! sTool.empty()) {
// carico anche gli utensili su eventuali altre uscite della testa
LoadTools( sHead) ;
// carico l'utensile (si sostituisce ad altro già presente sulla stessa uscita)
if ( ! LoadTool( sHead, nExit, sTool)) {
string sOut = "Missing tool " + sTool ;
LOG_INFO( GetEMkLogger(), sOut.c_str())
@@ -225,8 +228,6 @@ Machine::SetCurrTool( const string& sTool, const string& sHead, int nExit)
! m_pMchMgr->TdbGetCurrToolParam( TPA_TOTLEN, dTOvLen) ||
! m_pMchMgr->TdbGetCurrToolParam( TPA_TOTDIAM, dTOvDiam))
return false ;
// carico anche gli utensili su eventuali altre uscite della testa
LoadTools( sHead) ;
}
// altrimenti casi speciali senza utensile
else {