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