diff --git a/LuaLibs/ProcessLongCut.lua b/LuaLibs/ProcessLongCut.lua index 13875c6..a7ee835 100644 --- a/LuaLibs/ProcessLongCut.lua +++ b/LuaLibs/ProcessLongCut.lua @@ -1391,7 +1391,7 @@ function ProcessLongCut.Make( Proc, nPhase, nRawId, nPartId, bCustUseBlade, nCus -- aggiungo geometria EgtSetMachiningGeometry( {{ Proc.Id, 0}}) -- inverto se utensile antiorario per garantire senso di percorrenza migliore - local bInvert = EgtMdbGetCurrMachiningParam( MCH_MP.SPEED) < 0 + local bInvert = EgtMdbGetCurrMachiningParam( MCH_MP.SPEED) > 0 -- setto workside e eventuale inversione if bInvert then EgtSetMachiningParam( MCH_MP.WORKSIDE, MCH_MILL_WS.RIGHT)