EgtMachKernel 1.6p3 :

- gestione script OnSetTable in file mde per modificare dati assi
- migliorato sequenziamento curve per lavorazione
- eliminata tabella LOC per variabili locali in generazione part program
- aggiunte funzioni EmtModifyAxisStroke e EmtModifyAxisHome richiamabili da lua macchina
- aggiunta ExistsTable in interfaccia.
This commit is contained in:
Dario Sassi
2016-04-19 15:55:10 +00:00
parent 9b7d870bcc
commit 06a8b15d99
15 changed files with 238 additions and 107 deletions
+25
View File
@@ -125,3 +125,28 @@ Axis::Set( const string& sName, int nType,
return m_vtDir.Normalize() ;
}
//----------------------------------------------------------------------------
bool
Axis::Modify( const STROKE& Stroke)
{
m_Stroke = Stroke ;
if ( m_dHomeVal < m_Stroke.Min)
m_dHomeVal = m_Stroke.Min ;
else if ( m_dHomeVal > m_Stroke.Max)
m_dHomeVal = m_Stroke.Max ;
return true ;
}
//----------------------------------------------------------------------------
bool
Axis::Modify( double dHome)
{
if ( dHome < m_Stroke.Min)
m_dHomeVal = m_Stroke.Min ;
else if ( dHome > m_Stroke.Max)
m_dHomeVal = m_Stroke.Max ;
else
m_dHomeVal = dHome ;
return true ;
}