From 3480d3dae61c11ec650a249a10c6e51165f6d23f Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Wed, 21 Jan 2026 15:33:46 +0100 Subject: [PATCH] =?UTF-8?q?EgtMachKernel=20:=20-=20in=20milling=20OneWay?= =?UTF-8?q?=20correzione=20a=20verifica=20necessit=C3=A0=20risalite=20inte?= =?UTF-8?q?rmedie.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Milling.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Milling.cpp b/Milling.cpp index cb040a6..744366c 100644 --- a/Milling.cpp +++ b/Milling.cpp @@ -3347,7 +3347,9 @@ Milling::AddOneWayMilling( const ICurveComposite* pCompo, const Vector3d& vtTool dSawStartElev = dSawStartElev2 ; bSideStart = true ; } - } + } + if ( bSideStart) + bMidRetract = true ; if ( ! bGeomAboveStart && ! bAhUnderStart && ! bUhAboveStart && ! bSideStart && bOk) { m_pMchMgr->SetLastError( 2314, "Error in Milling : LeadIn must be out of rawpart") ; bOk = false ; @@ -3538,6 +3540,8 @@ Milling::AddOneWayMilling( const ICurveComposite* pCompo, const Vector3d& vtTool bSideEnd = true ; } } + if ( bSideEnd) + bMidRetract = true ; if ( ! bGeomAboveEnd && ! bAhUnderEnd && ! bUhAboveEnd && ! bSideEnd && bOk) { m_pMchMgr->SetLastError( 2324, "Error in Milling : LeadOut must be out of rawpart") ; bOk = false ;