EgtMachKernel 1.6r1 :
- in SplitFlatRawPartW se c'è curva di kerf si splitta e si riporta nei nuovi grezzi - in Simulator migliorata gestione Home e Stop, corretto posizione precedente degli assi al cambio utensile/testa.
This commit is contained in:
+8
-2
@@ -121,15 +121,21 @@ Machine::SetCurrTool( const string& sTool, const string& sHead, int nExit)
|
||||
int nHeadId = GetGroup( sHead) ;
|
||||
// recupero i dati della testa
|
||||
Head* pHead = GetHead( nHeadId) ;
|
||||
if ( pHead == nullptr)
|
||||
if ( pHead == nullptr) {
|
||||
string sOut = "Missing head " + sHead ;
|
||||
LOG_INFO( GetEMkLogger(), sOut.c_str())
|
||||
return false ;
|
||||
}
|
||||
// recupero il gruppo dell'uscita
|
||||
string sExit = MCH_EXIT + ToString( nExit) ;
|
||||
int nExitId = m_pGeomDB->GetFirstNameInGroup( nHeadId, sExit) ;
|
||||
// recupero i dati dell'uscita
|
||||
Exit* pExit = GetExit( nExitId) ;
|
||||
if ( pExit == nullptr)
|
||||
if ( pExit == nullptr) {
|
||||
string sOut = "Missing exit " + ToString( nExit) + " on head " + sHead ;
|
||||
LOG_INFO( GetEMkLogger(), sOut.c_str())
|
||||
return false ;
|
||||
}
|
||||
// recupero i dati dell'utensile
|
||||
int nToolId = GDB_ID_NULL ;
|
||||
double dTLen = 0 ;
|
||||
|
||||
Reference in New Issue
Block a user