From c40f03e8a44023905101dbb74836b36b0c929b28 Mon Sep 17 00:00:00 2001 From: "luca.mazzoleni" Date: Thu, 26 Jan 2023 17:18:47 +0100 Subject: [PATCH] Fix minore --- LuaLibs/ProcessLongCut.lua | 2 +- LuaLibs/ProcessLongDoubleCut.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LuaLibs/ProcessLongCut.lua b/LuaLibs/ProcessLongCut.lua index bedfbe8..f718917 100644 --- a/LuaLibs/ProcessLongCut.lua +++ b/LuaLibs/ProcessLongCut.lua @@ -56,7 +56,7 @@ end ----------------------------------------------------------------------------------------------- local function MakeSideFace( nId, nFac, nSide, sMilling, dToolDiam, bForcedLim, dDistToMachine, bUnderDir) - if not BD.DOWN_HEAD and nSide == -1 then + if ( not BD.DOWN_HEAD or not BD.TURN) and nSide == -1 then EgtOutLog( 'LongCut : side face finishing skipped , down head required') return true end diff --git a/LuaLibs/ProcessLongDoubleCut.lua b/LuaLibs/ProcessLongDoubleCut.lua index 52556ef..bc17405 100644 --- a/LuaLibs/ProcessLongDoubleCut.lua +++ b/LuaLibs/ProcessLongDoubleCut.lua @@ -120,7 +120,7 @@ end --------------------------------------------------------------------- local function MakeSideFace( nId, nFac, nSideLimitingFace, sMilling, dToolDiam, nL2CSide, bIsAnyFaceUpsideDown) - if not BD.DOWN_HEAD and bIsAnyFaceUpsideDown then + if ( not BD.DOWN_HEAD or not BD.TURN) and bIsAnyFaceUpsideDown then EgtOutLog( 'Long2Cut : side face finishing skipped , down head required') return true end