From dffe30d6404f288c046b7d2d3d68b0ac7624ba4d Mon Sep 17 00:00:00 2001 From: DarioS Date: Tue, 19 Oct 2021 15:04:07 +0200 Subject: [PATCH] DataBeam : - in LapJoint tasche con un solo apertomodifiche a calcolo diametro utensile massimo. --- LuaLibs/ProcessLapJoint.lua | 5 +++-- LuaLibs/ProcessLongCut.lua | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/LuaLibs/ProcessLapJoint.lua b/LuaLibs/ProcessLapJoint.lua index 4c38120..478edc6 100644 --- a/LuaLibs/ProcessLapJoint.lua +++ b/LuaLibs/ProcessLapJoint.lua @@ -1,4 +1,4 @@ --- ProcessLapJoint.lua by Egaltech s.r.l. 2021/10/06 +-- ProcessLapJoint.lua by Egaltech s.r.l. 2021/10/19 -- Gestione calcolo mezzo-legno per Travi -- 2019/10/08 Agg. gestione OpenPocket. -- 2021/01/24 Con sega a catena ora sempre impostato asse A. @@ -4743,7 +4743,8 @@ local function MakeMoreFaces( Proc, nPhase, nRawId, nPartId, dOvmHead, bSinglePa if bIsU then dDiam = GetUShapeWidth( Proc, nFacInd) or dDiam elseif Proc.Fct == 4 then - dDiam = min( dH, dV) * 0.5 + -- premio utensile diam 25 per rifinire gli angoli + if dDiam > 60 then dDiam = 0.5 * dDiam end else dDiam = 300 end diff --git a/LuaLibs/ProcessLongCut.lua b/LuaLibs/ProcessLongCut.lua index fff611c..ca93a9c 100644 --- a/LuaLibs/ProcessLongCut.lua +++ b/LuaLibs/ProcessLongCut.lua @@ -1100,12 +1100,12 @@ function ProcessLongCut.Make( Proc, nPhase, nRawId, nPartId, bCustUseBlade, nCus end end if not sMilling then - local sErr = 'Error on process ' .. tostring( Proc.Id) .. ' milling not found in library' + local sErr = 'Error : milling Long2CutDown not found in library' EgtOutLog( sErr) return false, sErr end if nSide ~= 1 and BD.DOWN_HEAD and not sMillingDn then - local sErr = 'Error on process ' .. tostring( Proc.Id) .. ' milling H2 not found in library' + local sErr = 'Error : milling Long2CutDown_H2 not found in library' EgtOutLog( sErr) return false, sErr end