From a1946a4a41bd5e8d9c7d10b45af0f72eca228d5e Mon Sep 17 00:00:00 2001 From: "luca.mazzoleni" Date: Tue, 20 Feb 2024 09:07:55 +0100 Subject: [PATCH] in LapJoint piccola correzione ai casi in cui si utilizza il SIDESTEP --- LuaLibs/WProcessLapJoint.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/LuaLibs/WProcessLapJoint.lua b/LuaLibs/WProcessLapJoint.lua index 607c190..c655e2a 100644 --- a/LuaLibs/WProcessLapJoint.lua +++ b/LuaLibs/WProcessLapJoint.lua @@ -33,6 +33,7 @@ -- 2023/11/14 Aggiunta tasche in doppio. -- Miglioramenti sostanziali nella gestione delle tasche. -- 2023/11/16 Fresature a salire estese a groove cieche. +-- 2024/02/20 Piccola correzione ai casi in cui si utilizza il SIDESTEP. -- Tabella per definizione modulo local WPL = {} @@ -1980,7 +1981,7 @@ local function MakeSideGrooveByMill( Proc, nFacet, nRawId, b3Raw, sCustomMach, d local dStepOri if not bExcludeSideMill then local nSideStep = 1 - if dSideStep > 0 and not ( bEnablePreMill or bAsEnablePreMill) and nModifyLeadInOut < 1 then + if dSideStep > 0 and not ( bEnablePreMill or bAsEnablePreMill) then nSideStep = ceil( dElev / dSideStep) dSideStep = max( dElev / nSideStep, 0) end