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
+12
View File
@@ -524,6 +524,18 @@ Pocketing::Apply( bool bRecalc)
if ( ! bOk)
return false ;
// eseguo aggiornamento assi macchina e collegamento con operazione precedente
return Update() ;
}
//----------------------------------------------------------------------------
bool
Pocketing::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_nPockets == 0) {
LOG_INFO( GetEMkLogger(), "Warning in Pocketing : No machinable pocket")