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:
Dario Sassi
2016-11-29 08:14:44 +00:00
parent 30c0ee8719
commit 3bef4560fd
9 changed files with 152 additions and 18 deletions
+12
View File
@@ -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)