EgtMachKernel :

- corretto recupero testa
- migliorata gestione angoli indeterminati
- migliorato controllo massimo affondamento in fresatura.
This commit is contained in:
Dario Sassi
2016-09-21 06:22:32 +00:00
parent 4c884e8ee5
commit d01434d783
4 changed files with 49 additions and 74 deletions
+2 -2
View File
@@ -1052,8 +1052,8 @@ Milling::ProcessPath( int nPathId, int nPvId, int nClId)
return false ;
// verifico di non superare il massimo materiale
if ( ( m_Params.m_dStep < EPS_SMALL && dElev > m_TParams.m_dMaxMat) ||
( m_Params.m_dStep > EPS_SMALL && m_Params.m_dStep > m_TParams.m_dMaxMat)) {
if ( ( m_Params.m_dStep < EPS_SMALL && dElev > m_TParams.m_dMaxMat + EPS_SMALL) ||
( m_Params.m_dStep > EPS_SMALL && m_Params.m_dStep > m_TParams.m_dMaxMat + EPS_SMALL)) {
LOG_INFO( GetEMkLogger(), "Error in Milling : machining depth bigger than MaxMaterial") ;
return false ;
}