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
@@ -429,7 +429,7 @@ Chiseling::Preview( bool bRecalc)
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
Chiseling::Apply( bool bRecalc)
|
||||
Chiseling::Apply( bool bRecalc, bool bPostApply)
|
||||
{
|
||||
// reset numero scalpellature generate
|
||||
m_nChisels = 0 ;
|
||||
@@ -490,12 +490,12 @@ Chiseling::Apply( bool bRecalc)
|
||||
}
|
||||
|
||||
// eseguo aggiornamento assi macchina e collegamento con operazione precedente
|
||||
return Update() ;
|
||||
return Update( bPostApply) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
Chiseling::Update( void)
|
||||
Chiseling::Update( bool bPostApply)
|
||||
{
|
||||
// verifico validità gestore DB geometrico e Id del gruppo
|
||||
if ( m_pGeomDB == nullptr || ! m_pGeomDB->ExistsObj( m_nOwnerId))
|
||||
@@ -541,7 +541,7 @@ Chiseling::Update( void)
|
||||
}
|
||||
|
||||
// esecuzione eventuali personalizzazioni
|
||||
if ( ! PostApply()) {
|
||||
if ( bPostApply && ! PostApply()) {
|
||||
m_pMchMgr->SetLastError( 2912, "Error in Chiseling : post apply not calculable") ;
|
||||
return false ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user