EgtMachKernel 2.2h2 :
- aggiunte in interfaccia MachMgr le funzioni GetAxisMin e GetAxisMax - in Generazione e Simulazione ai dati utensili attrezzati aggiunto flag per indicare se utilizzato nel programma di lavoro.
This commit is contained in:
@@ -130,6 +130,38 @@ Machine::GetAxisPos( const string& sAxis, double& dVal) const
|
||||
return true ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
Machine::GetAxisMin( const string& sAxis, double& dMin) const
|
||||
{
|
||||
// controllo GeomDB
|
||||
if ( m_pGeomDB == nullptr)
|
||||
return false ;
|
||||
// recupero il gestore dell'asse
|
||||
Axis* pAx = GetAxis( GetGroup( sAxis)) ;
|
||||
if ( pAx == nullptr)
|
||||
return false ;
|
||||
// recupero il minimo
|
||||
dMin = pAx->GetStroke().Min ;
|
||||
return true ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
Machine::GetAxisMax( const string& sAxis, double& dMax) const
|
||||
{
|
||||
// controllo GeomDB
|
||||
if ( m_pGeomDB == nullptr)
|
||||
return false ;
|
||||
// recupero il gestore dell'asse
|
||||
Axis* pAx = GetAxis( GetGroup( sAxis)) ;
|
||||
if ( pAx == nullptr)
|
||||
return false ;
|
||||
// recupero il massimo
|
||||
dMax = pAx->GetStroke().Max ;
|
||||
return true ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
Machine::GetAxisHomePos( const string& sAxis, double& dHomeVal) const
|
||||
|
||||
Reference in New Issue
Block a user