diff --git a/EgtMachKernel.rc b/EgtMachKernel.rc
index cfd6b76..7c07ad0 100644
Binary files a/EgtMachKernel.rc and b/EgtMachKernel.rc differ
diff --git a/EgtMachKernel.vcxproj.filters b/EgtMachKernel.vcxproj.filters
index 8c0d39e..884c3d5 100644
--- a/EgtMachKernel.vcxproj.filters
+++ b/EgtMachKernel.vcxproj.filters
@@ -249,6 +249,9 @@
Source Files\Output
+
+ Source Files\Operations
+
@@ -761,6 +764,9 @@
Header Files
+
+ Header Files
+
diff --git a/OperationConst.h b/OperationConst.h
index d7d2d06..84a6102 100644
--- a/OperationConst.h
+++ b/OperationConst.h
@@ -18,7 +18,7 @@
#include "/EgtDev/Include/EMkOperationConst.h"
#include
-#define POCKETING_NT 1
+#define POCKETING_NT 0
//----------------------------------------------------------------------------
static const std::string s_OpeClass[] = {"",
diff --git a/PocketingNT.cpp b/PocketingNT.cpp
index 4e9659b..62e9bd4 100644
--- a/PocketingNT.cpp
+++ b/PocketingNT.cpp
@@ -3903,8 +3903,8 @@ PocketingNT::CalcSpiral( const ICurveComposite* pCompo, int nReg, bool bSplitArc
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 ;