EgtMachKernel 1.8g5 :
- migliorata segnalazione extra corse.
This commit is contained in:
+15
-5
@@ -40,8 +40,10 @@ using namespace std ;
|
||||
// 2906 = "Error in Chiseling : Entity GetElevation"
|
||||
// 2907 = "Error in Chiseling : Chaining failed"
|
||||
// 2908 = "Error in Chiseling : axes values not calculable"
|
||||
// 2909 = "Error in Chiseling : link movements not calculable"
|
||||
// 2910 = "Error in Chiseling : post apply not calculable"
|
||||
// 2909 = "Error in Chiseling : outstroke xx"
|
||||
// 2910 = "Error in Chiseling : link movements not calculable"
|
||||
// 2911 = "Error in Chiseling : link outstroke xx"
|
||||
// 2912 = "Error in Chiseling : post apply not calculable"
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
struct SqHole
|
||||
@@ -520,19 +522,27 @@ Chiseling::Update( void)
|
||||
if ( ! m_Params.m_sInitAngs.empty())
|
||||
sHint = m_Params.m_sInitAngs ;
|
||||
if ( ! CalculateAxesValues( sHint)) {
|
||||
m_pMchMgr->SetLastError( 2908, "Error in Chiseling : axes values not calculable") ;
|
||||
string sInfo = m_pMchMgr->GetOutstrokeInfo() ;
|
||||
if ( sInfo.empty())
|
||||
m_pMchMgr->SetLastError( 2908, "Error in Chiseling : axes values not calculable") ;
|
||||
else
|
||||
m_pMchMgr->SetLastError( 2909, "Error in Chiseling : outstroke ") ;
|
||||
return false ;
|
||||
}
|
||||
|
||||
// gestione movimenti all'inizio di ogni singolo percorso di lavorazione e alla fine della lavorazione
|
||||
if ( ! AdjustStartEndMovements()) {
|
||||
m_pMchMgr->SetLastError( 2909, "Error in Chiseling : link movements not calculable") ;
|
||||
string sInfo = m_pMchMgr->GetOutstrokeInfo() ;
|
||||
if ( sInfo.empty())
|
||||
m_pMchMgr->SetLastError( 2910, "Error in Chiseling : link movements not calculable") ;
|
||||
else
|
||||
m_pMchMgr->SetLastError( 2911, "Error in Chiseling : link outstroke ") ;
|
||||
return false ;
|
||||
}
|
||||
|
||||
// esecuzione eventuali personalizzazioni
|
||||
if ( ! PostApply()) {
|
||||
m_pMchMgr->SetLastError( 2910, "Error in Chiseling : post apply not calculable") ;
|
||||
m_pMchMgr->SetLastError( 2912, "Error in Chiseling : post apply not calculable") ;
|
||||
return false ;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user