From d403f9cfcf5be5537f736a674f01a8f3ea055bb1 Mon Sep 17 00:00:00 2001 From: "luca.mazzoleni" Date: Wed, 5 Feb 2025 14:59:44 +0100 Subject: [PATCH] - in BeamExec si consentono DrillPocket in doppio solo se foro non passante --- LuaLibs/BeamExec.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/LuaLibs/BeamExec.lua b/LuaLibs/BeamExec.lua index 6cd5836..c4bc448 100644 --- a/LuaLibs/BeamExec.lua +++ b/LuaLibs/BeamExec.lua @@ -1826,7 +1826,10 @@ local function VerifyDrillMirrored( Proc, vProc, b3Raw) sDrilling, sType, dMaxDepth = ML.FindDrilling( dDiam, 0, true, false, true) dMachiningDepth = dMaxDepth or dMachiningDepth end - if not sDrilling or ( sType ~= 'Drill' and sType ~= 'Pocket') or not EgtMdbSetCurrMachining( sDrilling) then + if not sDrilling + or ( sType ~= 'Drill' and ( sType ~= 'Pocket'or ( Proc.Fcs ~= 0 and Proc.Fce ~= 0))) + or not EgtMdbSetCurrMachining( sDrilling) then + return end local dDrillingStep = EgtMdbGetCurrMachiningParam( MCH_MP.STEP)