From 6ffb0da24dc36e896a83a24171aa15af073ddc06 Mon Sep 17 00:00:00 2001 From: "luca.mazzoleni" Date: Thu, 24 Nov 2022 15:19:28 +0100 Subject: [PATCH] Improvement/FreeContour: - fix --- LuaLibs/ProcessFreeContour.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/LuaLibs/ProcessFreeContour.lua b/LuaLibs/ProcessFreeContour.lua index aca2ad3..9352d5c 100644 --- a/LuaLibs/ProcessFreeContour.lua +++ b/LuaLibs/ProcessFreeContour.lua @@ -559,9 +559,11 @@ local function MakeByMill( Proc, nPhase, nRawId, nPartId, dOvmHead) -- recupero la lavorazione sMillingDown = ML.FindMilling( 'FreeContour_H2', nil, nil, nil, nil, false, true) if not sMillingDown then - sWarn = 'Warning : milling from bottom not found in library' - EgtOutLog( sWarn) nDouble = 1 + dDepth = min( dOriDepth, dMaxDepth) + sWarn = 'Warning in process ' .. tostring( Proc.Id) .. ' (Free Contour) : milling from bottom not found in library' .. '\n' .. + '; depth (' .. EgtNumToString( dOriDepth, 1) .. ') bigger than max tool depth (' .. EgtNumToString( dMaxDepth, 1) .. ')' + EgtOutLog( sWarn) elseif sMillingDown and not bDownHead then bToolInv = true sMilling = sMillingDown