diff --git a/EgtMachKernel.rc b/EgtMachKernel.rc index ae40cd2..623731e 100644 Binary files a/EgtMachKernel.rc and b/EgtMachKernel.rc differ diff --git a/Milling.cpp b/Milling.cpp index 997340f..b761868 100644 --- a/Milling.cpp +++ b/Milling.cpp @@ -2215,7 +2215,7 @@ Milling::AddZigZagMilling( const ICurveComposite* pCompo, const Vector3d& vtTool } // altrimenti, affondo in feed opportuna else { - SetFeed( bOutStart ? GetStartFeed() : GetTipFeed()) ; + SetFeed( ( bOutStart || m_TParams.m_nType == TT_MILL_NOTIP) ? GetStartFeed() : GetTipFeed()) ; if ( AddLinearMove( ptP1) == GDB_ID_NULL) return false ; } @@ -2894,7 +2894,7 @@ Milling::AddSawZigZagMilling( const ICurveComposite* pCompo, const Vector3d& vtT } // altrimenti, affondo in feed opportuna else { - SetFeed( bOutStart ? GetStartFeed() : GetTipFeed()) ; + SetFeed( ( bOutStart || m_TParams.m_nType == TT_MILL_NOTIP) ? GetStartFeed() : GetTipFeed()) ; if ( AddLinearMove( ptP1) == GDB_ID_NULL) return false ; } @@ -3030,7 +3030,7 @@ Milling::AddApproach( const Point3d& ptP, const Vector3d& vtTool, double dSafeZ, } // affondo al punto iniziale SetFlag( 0) ; - SetFeed( bOutStart ? GetStartFeed() : GetTipFeed()) ; + SetFeed( ( bOutStart || m_TParams.m_nType == TT_MILL_NOTIP) ? GetStartFeed() : GetTipFeed()) ; if ( AddLinearMove( ptP) == GDB_ID_NULL) return false ; } @@ -3042,7 +3042,7 @@ Milling::AddApproach( const Point3d& ptP, const Vector3d& vtTool, double dSafeZ, return false ; // affondo al punto iniziale SetFlag( 0) ; - SetFeed( bOutStart ? GetStartFeed() : GetTipFeed()) ; + SetFeed( ( bOutStart || m_TParams.m_nType == TT_MILL_NOTIP) ? GetStartFeed() : GetTipFeed()) ; if ( AddLinearMove( ptP) == GDB_ID_NULL) return false ; }