EgtMachKernel 1.6v7 :
- modifiche per bloccaggi su più fasi
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#include "MachConst.h"
|
||||
#include "Disposition.h"
|
||||
#include "MachiningCreate.h"
|
||||
#include "SetTempPhase.h"
|
||||
#include "/EgtDev/Include/EMkOperationConst.h"
|
||||
#include "/EgtDev/Include/EGkUserObjFactory.h"
|
||||
#include "/EgtDev/Include/EGkGdbIterator.h"
|
||||
@@ -797,6 +798,8 @@ MachMgr::SetMachiningGeometry( const SELVECTOR& vIds)
|
||||
Machining* pMch = GetMachining( m_pGeomDB->GetUserObj( nCurrMchId)) ;
|
||||
if ( pMch == nullptr)
|
||||
return false ;
|
||||
// imposto fase della lavorazione come temporaneamente corrente
|
||||
SetTempPhase TmpPhase( this, pMch->GetPhase()) ;
|
||||
// imposto la geometria
|
||||
return pMch->SetGeometry( vIds) ;
|
||||
}
|
||||
@@ -813,6 +816,8 @@ MachMgr::MachiningPreview( bool bRecalc)
|
||||
Machining* pMch = GetMachining( m_pGeomDB->GetUserObj( nCurrMchId)) ;
|
||||
if ( pMch == nullptr)
|
||||
return false ;
|
||||
// imposto fase della lavorazione come temporaneamente corrente
|
||||
SetTempPhase TmpPhase( this, pMch->GetPhase()) ;
|
||||
// calcolo l'anteprima della lavorazione
|
||||
return pMch->Preview( bRecalc) ;
|
||||
}
|
||||
@@ -859,6 +864,8 @@ MachMgr::MachiningApply( bool bRecalc)
|
||||
Machining* pMch = GetMachining( m_pGeomDB->GetUserObj( nCurrMchId)) ;
|
||||
if ( pMch == nullptr)
|
||||
return false ;
|
||||
// imposto fase della lavorazione come temporaneamente corrente
|
||||
SetTempPhase TmpPhase( this, pMch->GetPhase()) ;
|
||||
// calcolo la lavorazione
|
||||
return pMch->Apply( bRecalc) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user