EgtMachKernel 2.6g7 :
- prime modifiche per gestire link tra lavorazioni con diverse modalità (per ora rimane la standard).
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user