diff --git a/EgtMachKernel.rc b/EgtMachKernel.rc index f9b3961..692fc6d 100644 Binary files a/EgtMachKernel.rc and b/EgtMachKernel.rc differ diff --git a/Operation.cpp b/Operation.cpp index 3be65a7..e44b6b3 100644 --- a/Operation.cpp +++ b/Operation.cpp @@ -747,7 +747,7 @@ Operation::CalculateClPathAxesValues( int nClPathId, int nLinAxes, int nRotAxes, dDelta1 += fabs( vAng1[i] - vAxRotPrec[i]) * ( bFirst ? dRot1W : 1) ; dDelta2 += fabs( vAng2[i] - vAxRotPrec[i]) * ( bFirst ? dRot1W : 1) ; } - if ( dDelta2 < dDelta1 - 1.) + if ( dDelta2 < dDelta1 - EPS_ANG_SMALL) vAng1 = vAng2 ; } // ricavo posizione con eventuali modifiche dipendenti dalla lavorazione