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
@@ -490,7 +490,7 @@ Milling::Preview( bool bRecalc)
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
Milling::Apply( bool bRecalc)
|
||||
Milling::Apply( bool bRecalc, bool bPostApply)
|
||||
{
|
||||
// reset numero percorsi di lavoro generati
|
||||
m_nMills = 0 ;
|
||||
@@ -551,7 +551,7 @@ Milling::Apply( bool bRecalc)
|
||||
}
|
||||
|
||||
// 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 !!!
|
||||
@@ -564,7 +564,7 @@ Milling::Apply( bool bRecalc)
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
Milling::Update( void)
|
||||
Milling::Update( bool bPostApply)
|
||||
{
|
||||
// verifico validità gestore DB geometrico e Id del gruppo
|
||||
if ( m_pGeomDB == nullptr || ! m_pGeomDB->ExistsObj( m_nOwnerId))
|
||||
@@ -610,7 +610,7 @@ Milling::Update( void)
|
||||
}
|
||||
|
||||
// esecuzione eventuali personalizzazioni
|
||||
if ( ! PostApply()) {
|
||||
if ( bPostApply && ! PostApply()) {
|
||||
m_pMchMgr->SetLastError( 2321, "Error in Milling : post apply not calculable") ;
|
||||
return false ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user