EgtMachKernel 2.3a3 :
- corretta lavorazione di finitura con lama per spatolatura per la gestione degli angoli sulla linea guida - allineata AdjustCurveFromSurf alla funzione simile di EgtExecutor - aggiunta funzione lua di macchina EmtGetBackAuxDir - a MachMgr aggiunte funzioni di interfaccia GetCalcHead e GetCalcExit.
This commit is contained in:
+28
-1
@@ -344,7 +344,7 @@ Machine::GetCurrHead( void) const
|
||||
// controllo GeomDB
|
||||
if ( m_pGeomDB == nullptr)
|
||||
return GDB_ID_NULL ;
|
||||
// recupero identificativo dell'utensile
|
||||
// recupero identificativo della testa
|
||||
return m_nCalcHeadId ;
|
||||
}
|
||||
|
||||
@@ -359,6 +359,33 @@ Machine::GetCurrHead( string& sHead) const
|
||||
return m_pGeomDB->GetName( m_nCalcHeadId, sHead) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
int
|
||||
Machine::GetCurrExit( void) const
|
||||
{
|
||||
// controllo GeomDB
|
||||
if ( m_pGeomDB == nullptr)
|
||||
return GDB_ID_NULL ;
|
||||
// recupero identificativo dell'uscita
|
||||
return m_nCalcExitId ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
Machine::GetCurrExit( int& nExit) const
|
||||
{
|
||||
// controllo GeomDB
|
||||
if ( m_pGeomDB == nullptr)
|
||||
return GDB_ID_NULL ;
|
||||
// recupero nome gruppo dell'uscita
|
||||
string sExit ;
|
||||
if ( ! m_pGeomDB->GetName( m_nCalcExitId, sExit))
|
||||
return false ;
|
||||
// recupero indice dell'uscita
|
||||
TrimLeft( sExit, MCH_EXIT.c_str()) ;
|
||||
return FromString( sExit, nExit) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
Machine::GetCurrHeadCollGroups( INTVECTOR& vIds) const
|
||||
|
||||
Reference in New Issue
Block a user