EgtMachKernel 1.8g5 :
- migliorata segnalazione extra corse.
This commit is contained in:
+15
-5
@@ -57,8 +57,10 @@ using namespace std ;
|
||||
// 2421 = "Error in Pocketing : Chaining failed"
|
||||
// 2422 = "Error in Pocketing : Tool MaxMaterial too small (xxx)"
|
||||
// 2423 = "Error in Pocketing : axes values not calculable"
|
||||
// 2424 = "Error in Pocketing : link movements not calculable"
|
||||
// 2425 = "Error in Pocketing : post apply not calculable"
|
||||
// 2424 = "Error in Pocketing : outstroke xxx"
|
||||
// 2425 = "Error in Pocketing : link movements not calculable"
|
||||
// 2426 = "Error in Pocketing : link outstroke xxx"
|
||||
// 2427 = "Error in Pocketing : post apply not calculable"
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
USEROBJ_REGISTER( "EMkPocketing", Pocketing) ;
|
||||
@@ -565,19 +567,27 @@ Pocketing::Update( void)
|
||||
if ( ! m_Params.m_sInitAngs.empty())
|
||||
sHint = m_Params.m_sInitAngs ;
|
||||
if ( ! CalculateAxesValues( sHint)) {
|
||||
m_pMchMgr->SetLastError( 2423, "Error in Pocketing : axes values not calculable") ;
|
||||
string sInfo = m_pMchMgr->GetOutstrokeInfo() ;
|
||||
if ( sInfo.empty())
|
||||
m_pMchMgr->SetLastError( 2423, "Error in Pocketing : axes values not calculable") ;
|
||||
else
|
||||
m_pMchMgr->SetLastError( 2424, "Error in Pocketing : outstroke ") ;
|
||||
return false ;
|
||||
}
|
||||
|
||||
// gestione movimenti all'inizio di ogni singolo percorso di lavorazione e alla fine della lavorazione
|
||||
if ( ! AdjustStartEndMovements()) {
|
||||
m_pMchMgr->SetLastError( 2424, "Error in Pocketing : link movements not calculable") ;
|
||||
string sInfo = m_pMchMgr->GetOutstrokeInfo() ;
|
||||
if ( sInfo.empty())
|
||||
m_pMchMgr->SetLastError( 2425, "Error in Pocketing : link movements not calculable") ;
|
||||
else
|
||||
m_pMchMgr->SetLastError( 2426, "Error in Pocketing : link outstroke ") ;
|
||||
return false ;
|
||||
}
|
||||
|
||||
// esecuzione eventuali personalizzazioni
|
||||
if ( ! PostApply()) {
|
||||
m_pMchMgr->SetLastError( 2425, "Error in Pocketing : post apply not calculable") ;
|
||||
m_pMchMgr->SetLastError( 2427, "Error in Pocketing : post apply not calculable") ;
|
||||
return false ;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user