EgtMachKernel 1.6r1 :
- in SplitFlatRawPartW se c'è curva di kerf si splitta e si riporta nei nuovi grezzi - in Simulator migliorata gestione Home e Stop, corretto posizione precedente degli assi al cambio utensile/testa.
This commit is contained in:
+6
-7
@@ -37,8 +37,6 @@ Generator::Generator( void)
|
||||
m_pMchMgr = nullptr ;
|
||||
m_pGeomDB = nullptr ;
|
||||
m_pMachine = nullptr ;
|
||||
m_sPrevTool.clear() ;
|
||||
m_sTool.clear() ;
|
||||
m_AxesName.reserve( 8) ;
|
||||
m_AxesVal.reserve( 8) ;
|
||||
}
|
||||
@@ -60,6 +58,7 @@ Generator::Init( MachMgr* pMchMgr)
|
||||
m_pMchMgr = pMchMgr ;
|
||||
m_pGeomDB = m_pMchMgr->GetGeomDB() ;
|
||||
m_pMachine = m_pMchMgr->GetCurrMachine() ;
|
||||
m_sPrevTool.clear() ;
|
||||
m_sTool.clear() ;
|
||||
return true ;
|
||||
}
|
||||
@@ -196,6 +195,7 @@ Generator::ProcessDisposition( int nOpId, int nOpInd)
|
||||
else
|
||||
break ;
|
||||
}
|
||||
bool bOk = true ;
|
||||
|
||||
// Se disposizione con movimenti macchina
|
||||
if ( ! pDisp->IsEmpty()) {
|
||||
@@ -219,7 +219,6 @@ Generator::ProcessDisposition( int nOpId, int nOpInd)
|
||||
return false ;
|
||||
}
|
||||
// Ciclo su tutti i percorsi CL della disposizione
|
||||
bool bOk = true ;
|
||||
int nClPathInd = 0 ;
|
||||
int nClId = m_pGeomDB->GetFirstNameInGroup( nOpId, MCH_CL) ;
|
||||
int nClPathId = m_pGeomDB->GetFirstGroupInGroup( nClId) ;
|
||||
@@ -234,10 +233,9 @@ Generator::ProcessDisposition( int nOpId, int nOpInd)
|
||||
}
|
||||
|
||||
// Emetto fine disposizione
|
||||
if ( ! OnDispositionEnd())
|
||||
return false ;
|
||||
bOk = bOk && OnDispositionEnd() ;
|
||||
|
||||
return true ;
|
||||
return bOk ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
@@ -537,8 +535,9 @@ Generator::OnRawMoveData( int nRawId, int RawMoveInd, int nType, const Point3d&
|
||||
bool
|
||||
Generator::OnToolSelect( void)
|
||||
{
|
||||
// assegno il nome dell'utensile
|
||||
bool bOk = m_pMachine->LuaSetGlobVar( GLOB_VAR + GVAR_TOOL, m_sTool) ;
|
||||
// assegno il nome degli assi
|
||||
bool bOk = true ;
|
||||
int nNumAxes = int( m_AxesName.size()) ;
|
||||
for ( int i = 1 ; i <= MAX_AXES ; ++ i) {
|
||||
if ( i <= nNumAxes)
|
||||
|
||||
Reference in New Issue
Block a user