From a482cb4fa99f896cf0f007ad0b7d02056beaa42b Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Tue, 13 Oct 2020 07:09:08 +0000 Subject: [PATCH] EgtMachKernel 2.2j1 : - corretta fresatura su piano non perpendicolare all'utensile con oscillazione. --- EgtMachKernel.rc | Bin 11774 -> 11782 bytes Milling.cpp | 4 +++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/EgtMachKernel.rc b/EgtMachKernel.rc index 7b01563f8643cc7868ecd10f375ad5e5e6d5249b..901bcd576b71197c2c49abd024a6e14eea31fe3c 100644 GIT binary patch delta 129 zcmewt-4?Uq8ymYJg8_pMgW=}iY}U-oSqz4gA4=+OPUGrfL6W)1H2H*J9zs?KMHWS$ T2jk{d(k{&SG=r2Vhj0M^?&c=# delta 121 zcmZpR`4_$68yl-7gARl7=D%##%*>e##*-a|bvI`TxiM~D$L+=pm%PX{`HWy5l7b!< PxEzK?X*?R0=5PZ5xbY+D diff --git a/Milling.cpp b/Milling.cpp index 2c2186c..54e0868 100644 --- a/Milling.cpp +++ b/Milling.cpp @@ -1620,7 +1620,7 @@ Milling::ProcessPath( int nPathId, int nPvId, int nClId) bool bPathTabsEnable = m_Params.m_bLeaveTab ; bool bPathOscEnable = ( ! bPathTabsEnable && m_Params.m_bOscEnable) ; - // se utensile lama, disabilito eventuali tbas o oscillazione + // se utensile lama, disabilito eventuali tabs o oscillazione if ( ( m_TParams.m_nType & TF_SAWBLADE) != 0) { if ( bPathTabsEnable) { bPathTabsEnable = false ; @@ -4976,6 +4976,8 @@ Milling::CalcOffset( ICurveComposite* pCompo, double dSignOffs) if ( ! AreSameVectorEpsilon( vtStart, vtEnd, sin( 5 * DEGTORAD))) nFlag |= ICurve::OFF_FORCE_OPEN ; } + if ( m_Params.m_bLeaveTab || m_Params.m_bOscEnable) + nFlag |= ICurve::OFF_MEDIA_INTDZ ; // eseguo offset semplice if ( pCompo->SimpleOffset( dSignOffs, nFlag)) return true ;