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
@@ -464,7 +464,7 @@ Pocketing::Preview( bool bRecalc)
//----------------------------------------------------------------------------
bool
Pocketing::Apply( bool bRecalc)
Pocketing::Apply( bool bRecalc, bool bPostApply)
{
// reset numero percorsi di svuotatura generati
m_nPockets = 0 ;
@@ -528,7 +528,7 @@ Pocketing::Apply( bool bRecalc)
return false ;
// eseguo aggiornamento assi macchina e collegamento con operazione precedente
if ( ! Update())
if ( ! Update( bPostApply))
return false ;
//// imposto l'utensile per l'anteprima !!! provvisorio per test !!!
@@ -541,7 +541,7 @@ Pocketing::Apply( bool bRecalc)
//----------------------------------------------------------------------------
bool
Pocketing::Update( void)
Pocketing::Update( bool bPostApply)
{
// verifico validità gestore DB geometrico e Id del gruppo
if ( m_pGeomDB == nullptr || ! m_pGeomDB->ExistsObj( m_nOwnerId))
@@ -587,7 +587,7 @@ Pocketing::Update( void)
}
// esecuzione eventuali personalizzazioni
if ( ! PostApply()) {
if ( bPostApply && ! PostApply()) {
m_pMchMgr->SetLastError( 2427, "Error in Pocketing : post apply not calculable") ;
return false ;
}