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