EgtMachKernel 2.6g7 :

- prime modifiche per gestire link tra lavorazioni con diverse modalità (per ora rimane la standard).
This commit is contained in:
Dario Sassi
2024-07-30 09:28:05 +02:00
parent 68a92f942c
commit 6348a40e18
5 changed files with 60 additions and 8 deletions
+17
View File
@@ -1947,6 +1947,23 @@ Machine::GetAllCurrAxesTokens( STRVECTOR& vAxToken) const
return bOk ;
}
//----------------------------------------------------------------------------
bool
Machine::GetCurrAxisType( int nInd, bool& bHead) const
{
int nLinAxes = int( m_vCalcLinAx.size()) ;
int nRotAxes = int( m_vCalcRotAx.size()) ;
if ( nInd >= 0 && nInd < nLinAxes) {
bHead = m_vCalcLinAx[nInd].bHead ;
return true ;
}
else if ( nInd >= nLinAxes && nInd < nLinAxes + nRotAxes) {
bHead = m_vCalcRotAx[nInd-nLinAxes].bHead ;
return true ;
}
return false ;
}
//----------------------------------------------------------------------------
bool
Machine::GetCurrAxisMin( int nInd, double& dMin) const