EgtMachKernel 1.8f2 :

- aggiunte Update di lavorazioni e disposizione per ricalcolo assi macchina ecollegamenti.
This commit is contained in:
Dario Sassi
2017-06-17 16:55:44 +00:00
parent 88d87de77e
commit a4c7789a91
22 changed files with 232 additions and 50 deletions
+15 -1
View File
@@ -536,9 +536,23 @@ GenMachining::Apply( bool bRecalc)
return false ;
}
// eseguo aggiornamento assi macchina e collegamento con operazione precedente
return Update() ;
}
//----------------------------------------------------------------------------
bool
GenMachining::Update( void)
{
// verifico validità gestore DB geometrico e Id del gruppo
if ( m_pGeomDB == nullptr || ! m_pGeomDB->ExistsObj( m_nOwnerId))
return false ;
// se lavorazione vuota, esco
if ( m_nMills == 0)
if ( m_nMills == 0) {
LOG_INFO( GetEMkLogger(), "Warning in GenMachining : No machinable path")
return true ;
}
// imposto eventuale asse bloccato da lavorazione
if ( ! m_Params.m_sBlockedAxis.empty()) {