diff --git a/EXE_NstMachining.cpp b/EXE_NstMachining.cpp index dd10b55..44883af 100644 --- a/EXE_NstMachining.cpp +++ b/EXE_NstMachining.cpp @@ -254,7 +254,7 @@ ExeVerifyCutAsSplitting( int nMchId) pMachMgr->MachiningPreview( true) ; // verifico interferenza int nRes ; - if ( ExeVerifyMachining( nMchId, nRes) && nRes == FMI_NONE) + if ( ExeVerifyMachining( nMchId, nRes) && ( nRes == FMI_NONE || nRes == FMI_LO)) nResult += CAR_LI_OK ; // ripristino attacco originale pMachMgr->SetMachiningParam( MPA_LEADINTYPE, nLiType) ; @@ -265,7 +265,7 @@ ExeVerifyCutAsSplitting( int nMchId) else { // verifico interferenza int nRes ; - if ( ExeVerifyMachining( nMchId, nRes) && nRes == FMI_NONE) + if ( ExeVerifyMachining( nMchId, nRes) && ( nRes == FMI_NONE || nRes == FMI_LO)) nResult += CAR_LI_OK ; } // verifico se posso portare uscita al bordo grezzo @@ -276,7 +276,7 @@ ExeVerifyCutAsSplitting( int nMchId) pMachMgr->MachiningPreview( true) ; // verifico interferenza int nRes ; - if ( ExeVerifyMachining( nMchId, nRes) && nRes == FMI_NONE) + if ( ExeVerifyMachining( nMchId, nRes) && ( nRes == FMI_NONE || nRes == FMI_LI)) nResult += CAR_LO_OK ; // ripristino uscita originale pMachMgr->SetMachiningParam( MPA_LEADOUTTYPE, nLoType) ; @@ -287,7 +287,7 @@ ExeVerifyCutAsSplitting( int nMchId) else { // verifico interferenza int nRes ; - if ( ExeVerifyMachining( nMchId, nRes) && nRes == FMI_NONE) + if ( ExeVerifyMachining( nMchId, nRes) && ( nRes == FMI_NONE || nRes == FMI_LI)) nResult += CAR_LO_OK ; } // verifico se taglio non passante diff --git a/EgtExecutor.rc b/EgtExecutor.rc index cfa7cd5..ad8b46e 100644 Binary files a/EgtExecutor.rc and b/EgtExecutor.rc differ