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:
Dario Sassi
2021-01-14 06:36:35 +00:00
parent 7dda9568e8
commit 78bc849746
9 changed files with 99 additions and 9 deletions
+28 -1
View File
@@ -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