EgtMachKernel 1.8b7 :

- corretta gestione disposizioni con spostamento pezzi consecutive e con teste diverse
- aggiunta GetRotAxisBlocked
- aggiunto controllo validità nome su utensili.
This commit is contained in:
Dario Sassi
2017-03-02 07:56:39 +00:00
parent 0941600e08
commit 284525c926
8 changed files with 63 additions and 8 deletions
+3 -2
View File
@@ -1076,11 +1076,12 @@ Disposition::SpecialApply( bool bRecalc)
// segnalo errori
if ( nErr != 0) {
bOk = false ;
m_nShifts = - 1 ;
string sOut = " Error in " + ON_SPECIAL_APPLY + " (" + ToString( nErr) + ")" ;
LOG_INFO( GetEMkLogger(), sOut.c_str())
}
// se disposizione vuota, esco
if ( m_nShifts == 0)
if ( m_nShifts <= 0)
return bOk ;
// calcolo assi macchina
string sHint = "" ;
@@ -1097,7 +1098,7 @@ Disposition::SpecialApply( bool bRecalc)
bool
Disposition::GetToolData( string& sName, string& sHead, int& nExit, string& sTcPos) const
{
sName = "" ;
sName = "*" + m_sHead ;
sHead = m_sHead ;
nExit = m_nExit ;
sTcPos = m_sTcPos ;