EgtMachKernel 1.8j5 :

- modifiche a drilling per invertire fori e impostare max profondità
- aggiunta possibilità di MachiningApply e MachiningUpdate senza PostApply.
This commit is contained in:
Dario Sassi
2017-10-24 18:16:57 +00:00
parent 8d501a639f
commit 0796deb027
20 changed files with 78 additions and 72 deletions
+4 -4
View File
@@ -457,7 +457,7 @@ GenMachining::Preview( bool bRecalc)
//----------------------------------------------------------------------------
bool
GenMachining::Apply( bool bRecalc)
GenMachining::Apply( bool bRecalc, bool bPostApply)
{
// reset numero percorsi di lavoro generati
m_nMills = 0 ;
@@ -539,12 +539,12 @@ GenMachining::Apply( bool bRecalc)
}
// eseguo aggiornamento assi macchina e collegamento con operazione precedente
return Update() ;
return Update( bPostApply) ;
}
//----------------------------------------------------------------------------
bool
GenMachining::Update( void)
GenMachining::Update( bool bPostApply)
{
// verifico validità gestore DB geometrico e Id del gruppo
if ( m_pGeomDB == nullptr || ! m_pGeomDB->ExistsObj( m_nOwnerId))
@@ -592,7 +592,7 @@ GenMachining::Update( void)
}
// esecuzione eventuali personalizzazioni
if ( ! PostApply()) {
if ( bPostApply && ! PostApply()) {
m_pMchMgr->SetLastError( 2808, "Error in GenMachining : post apply not calculable") ;
return false ;
}