From 3df6059071f3c2b23dd05f283ce555b9a13232a2 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Wed, 25 Sep 2024 10:44:55 +0200 Subject: [PATCH] EgtMachKernel : - miglioria a svuotature per caso limite dimensione tasca quasi uguale a dimensione utensile. --- Pocketing.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Pocketing.cpp b/Pocketing.cpp index 8213114..ff25a95 100644 --- a/Pocketing.cpp +++ b/Pocketing.cpp @@ -3901,8 +3901,8 @@ Pocketing::CalcSpiral( const ICurveComposite* pCompo, int nReg, bool bSplitArcs, CalcCurveLimitOffset( *pCompo, dMaxOffs) ; else CalcCurveLimitOffset( *pOffs, dMaxOffs) ; - if ( abs( dMaxOffs - dOffs) < EPS_SMALL) - dOffs -= EPS_SMALL ; + if ( dOffs > dMaxOffs - 10 * EPS_ZERO && dOffs < dMaxOffs + EPS_SMALL) + dOffs = dMaxOffs - 10 * EPS_ZERO ; // calcolo OffsetCurve OffsCrv ;