in LapJoint piccola correzione ai casi in cui si utilizza il SIDESTEP

This commit is contained in:
luca.mazzoleni
2024-02-20 09:07:55 +01:00
parent 87cb7480be
commit a1946a4a41
+2 -1
View File
@@ -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