From 315cedb3a20a08eb5fe5b7f39ca0f4065f72f5aa Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Mon, 4 Nov 2024 08:35:07 +0100 Subject: [PATCH] =?UTF-8?q?EgtExecutor=202.6k1=20:=20-=20modifiche=20a=20E?= =?UTF-8?q?xeVerifyCutAsSplitting=20per=20restituire=20un=20risultato=20pi?= =?UTF-8?q?=C3=B9=20preciso=20(taglia=20completamente=20se=20CAR=5FLI=5FLO?= =?UTF-8?q?=5FOK).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- EXE_NstMachining.cpp | 8 ++++---- EgtExecutor.rc | Bin 18898 -> 18898 bytes 2 files changed, 4 insertions(+), 4 deletions(-) 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 cfa7cd5baf70fb1b58c6e3eda8dd18951b43dcab..ad8b46e4713b0c6f35cb1cb173e6310ecce015be 100644 GIT binary patch delta 123 zcmcaKneozO#tlE%SPdC;7z{UG6uZte`3h$ab2fwF`T)EKs?Fa+jGV9}q;y k87R3iZeAp;#SGW%%#5Vbk8$%PX}IJ;IeUbpfzl#%061(TP5=M^ delta 123 zcmcaKneozO#tlE%SPd9-7)&-_6uZte`3h$aa~6Zi`T)EKs?Fa+jGV9}q;y k87R3iZeAp;#SGW%%#5Vbk8$%PX}IJ;IeUbpfzl#%06YLAUH||9