EgtMachKernel 2.6j3 :

- aggiunta in interfaccia funzione GetAxisDir.
This commit is contained in:
Dario Sassi
2024-10-15 17:34:35 +02:00
parent d2bf6a4cec
commit e39426da0a
5 changed files with 35 additions and 8 deletions
+9
View File
@@ -330,6 +330,15 @@ MachMgr::GetAxisType( const string& sAxis, bool& bLinear) const
return ( ( pMch != nullptr) ? pMch->GetAxisType( sAxis, bLinear) : false) ;
}
//----------------------------------------------------------------------------
bool
MachMgr::GetAxisDir( const string& sAxis, Vector3d& vtDir) const
{
Machine* pMch = GetCurrMachine() ;
// restituisco la direzione dell'asse indicato nella macchina corrente
return ( ( pMch != nullptr) ? pMch->GetAxisDir( sAxis, vtDir) : false) ;
}
//----------------------------------------------------------------------------
bool
MachMgr::GetAxisInvert( const string& sAxis, bool& bInvert) const