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:
+3
-2
@@ -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 ;
|
||||
|
||||
Reference in New Issue
Block a user