EgtMachKernel 1.6w5 :
- in generazione corretta creazione elenco utensili (ora si usa TUUID) - in Head corretta Clone - per SCC (criterio scelta soluzione) ora NONE è equivalente a STANDARD - si esegue Apply sulle operazioni solo se attive - aggiunta gestione da script OnSpecialMoveUp per movimenti speciali a Z alta.
This commit is contained in:
@@ -583,6 +583,12 @@ MachMgr::GetPhaseDisposition( int nPhase) const
|
||||
bool
|
||||
MachMgr::DispositionSpecialApply( int nId, bool bRecalc)
|
||||
{
|
||||
// verifico sia attiva
|
||||
bool bActive ;
|
||||
if ( ! GetOperationMode( nId, bActive))
|
||||
return false ;
|
||||
if ( ! bActive)
|
||||
return true ;
|
||||
// recupero la disposizione
|
||||
Disposition* pDisp = ::GetDisposition( m_pGeomDB->GetUserObj( nId)) ;
|
||||
if ( pDisp == nullptr)
|
||||
@@ -898,6 +904,12 @@ MachMgr::MachiningApply( bool bRecalc)
|
||||
int nCurrMchId = GetCurrMachining() ;
|
||||
if ( nCurrMchId == GDB_ID_NULL)
|
||||
return false ;
|
||||
// verifico sia attiva
|
||||
bool bActive ;
|
||||
if ( ! GetOperationMode( nCurrMchId, bActive))
|
||||
return false ;
|
||||
if ( ! bActive)
|
||||
return true ;
|
||||
// ne recupero il gestore
|
||||
Machining* pMch = GetMachining( m_pGeomDB->GetUserObj( nCurrMchId)) ;
|
||||
if ( pMch == nullptr)
|
||||
|
||||
Reference in New Issue
Block a user