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:
+4
-4
@@ -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 ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user