From 1358149aa4b1fd976a73e96cb06da270d07724be Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Mon, 29 Oct 2018 12:15:09 +0000 Subject: [PATCH] EgtMachKernel : - in pocketing attacco spirale diventa nessuno se non si deve affondare. --- Pocketing.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Pocketing.cpp b/Pocketing.cpp index 5033e79..4364346 100644 --- a/Pocketing.cpp +++ b/Pocketing.cpp @@ -3180,6 +3180,7 @@ Pocketing::AddLeadIn( const Point3d& ptP1, const Point3d& ptStart, const Vector3 // Assegno il tipo int nType = GetLeadInType() ; if ( bNoneForced || + AreSamePointEpsilon( ptP1, ptStart, 10 * EPS_SMALL) || ( nType == POCKET_LI_GLIDE && ( pRCrv == nullptr || pRCrv->GetCurveCount() == 0))) nType = POCKET_LI_NONE ; // Se elica e fattibile lo creo