From 2f2b8589affed2c4ccf5fdb3c2489a6e2446fe4e Mon Sep 17 00:00:00 2001 From: "daniele.nicoli" Date: Thu, 30 Jul 2026 14:48:42 +0200 Subject: [PATCH 1/3] LapJoint - MakeRoundCleanContour, corretto caso tasca profonda a U aperta --- LuaLibs/ProcessLapJoint.lua | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/LuaLibs/ProcessLapJoint.lua b/LuaLibs/ProcessLapJoint.lua index 4b258e7..6a325b6 100644 --- a/LuaLibs/ProcessLapJoint.lua +++ b/LuaLibs/ProcessLapJoint.lua @@ -1955,14 +1955,21 @@ local function MakeRoundCleanContour( Proc, nPhase, nRawId, nPartId, b3Raw, -- inversione direzione utensile local bInvertMach = false if nPathInt then - -- verifico se devo invertire direzione utensile (in caso di direzione verso la verticale) - if vtN1:getZ() < BD.NZ_MINA and abs(vtN1:getZ()) >= 0.707 then - EgtSetMachiningParam( MCH_MP.TOOLINVERT, true) - bInvertMach = true - -- altrimenti se da fare in una sola volta e direzionato verso Y+ lo inverto per lavorarlo davanti - elseif not bDoubleSide and vtN1:getY() > GEO.EPS_SMALL then - EgtSetMachiningParam( MCH_MP.TOOLINVERT, true) - bInvertMach = true + if bMillDown then + if vtN1:getZ() > 10 * GEO.EPS_SMALL then + EgtSetMachiningParam( MCH_MP.TOOLINVERT, true) + bInvertMach = true + end + else + -- verifico se devo invertire direzione utensile (in caso di direzione verso la verticale) + if vtN1:getZ() < BD.NZ_MINA and abs(vtN1:getZ()) >= 0.707 then + EgtSetMachiningParam( MCH_MP.TOOLINVERT, true) + bInvertMach = true + -- altrimenti se da fare in una sola volta e direzionato verso Y+ lo inverto per lavorarlo davanti + elseif not bDoubleSide and vtN1:getY() > GEO.EPS_SMALL then + EgtSetMachiningParam( MCH_MP.TOOLINVERT, true) + bInvertMach = true + end end end -- imposto posizione braccio porta testa From 187beba6826f220eb106c35d1eaed7351add03aa Mon Sep 17 00:00:00 2001 From: "daniele.nicoli" Date: Thu, 30 Jul 2026 17:09:42 +0200 Subject: [PATCH 2/3] - ProfCamb - aggiunta Q19, se = 1 disabilita lavorazione AntiSplint. - update versione e log --- LuaLibs/ProcessProfCamb.lua | 14 ++++++++------ UpdateLog.txt | 3 +++ Version.lua | 2 +- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/LuaLibs/ProcessProfCamb.lua b/LuaLibs/ProcessProfCamb.lua index 8acc04f..45f2ff9 100644 --- a/LuaLibs/ProcessProfCamb.lua +++ b/LuaLibs/ProcessProfCamb.lua @@ -33,6 +33,7 @@ local sEnableExtraBladeUpperFace = 'Q02' -- i local sDepthChamferMill = 'Q03' -- d local sOverMaterialForFinish = 'Q04' -- d local sPreemptiveChamfer = 'Q05' -- i +local sDisableAntiSplint = 'Q19' -- abilitazioni extra local dMakeAntiSplintOnHead = 1 -- valore impronta antischeggia, per disattivare settare = nil o = 0 @@ -301,13 +302,14 @@ function ProcessProfCamb.Make( Proc, nPhase, nRawId, nPartId, dCurrOvmH) local sMilling -- in base alla direzione iniziale della curva e al valore di entrata valido, setto l'antischeggia local bMakeAs + local bDeleteAntiSplint = EgtGetInfo( Proc.Id, sDisableAntiSplint, 'i') == 1 local vtStart = EgtSV( AuxId, GDB_ID.ROOT) if nSide == 0 then - if abs(vtStart:getY()) >= dActivateCompoAng and dMakeAntiSplintOnHead and abs(dMakeAntiSplintOnHead) > 0 then + if abs( vtStart:getY()) >= dActivateCompoAng and dMakeAntiSplintOnHead and abs( dMakeAntiSplintOnHead) > 0 and not bDeleteAntiSplint then bMakeAs = true end else - if abs(vtStart:getZ()) >= dActivateCompoAng and dMakeAntiSplintOnHead and abs(dMakeAntiSplintOnHead) > 0 then + if abs( vtStart:getZ()) >= dActivateCompoAng and dMakeAntiSplintOnHead and abs( dMakeAntiSplintOnHead) > 0 and not bDeleteAntiSplint then bMakeAs = true end end @@ -531,7 +533,7 @@ function ProcessProfCamb.Make( Proc, nPhase, nRawId, nPartId, dCurrOvmH) if bDouble then -- inserisco la lavorazione local sName - if bMakeAs then + if bMakeAs and not bDeleteAntiSplint then sName = 'ProfB_As_' .. ( EgtGetName( Proc.Id) or tostring( Proc.Id)) else sName = 'ProfB_' .. ( EgtGetName( Proc.Id) or tostring( Proc.Id)) @@ -583,7 +585,7 @@ function ProcessProfCamb.Make( Proc, nPhase, nRawId, nPartId, dCurrOvmH) ModifySideAndInvert( Proc, bHead) end -- se devo fare l'antischeggia in testa - if bMakeAs then + if bMakeAs and not bDeleteAntiSplint then local sNewName = 'ProfB_' .. ( EgtGetName( Proc.Id) or tostring( Proc.Id)) -- copio lavorazione per ingresso antischeggia (la copia è la lavorazione finale) local nMch2Id = EgtCopyMachining( sNewName, EgtGetName( nMchId)) @@ -621,7 +623,7 @@ function ProcessProfCamb.Make( Proc, nPhase, nRawId, nPartId, dCurrOvmH) end -- inserisco la prima lavorazione local sName - if bMakeAs then + if bMakeAs and not bDeleteAntiSplint then sName = 'Prof_As_' .. ( EgtGetName( Proc.Id) or tostring( Proc.Id)) else sName = 'Prof_' .. ( EgtGetName( Proc.Id) or tostring( Proc.Id)) @@ -698,7 +700,7 @@ function ProcessProfCamb.Make( Proc, nPhase, nRawId, nPartId, dCurrOvmH) ModifySideAndInvert( Proc, bHead) end -- se devo fare l'antischeggia in testa - if bMakeAs then + if bMakeAs and not bDeleteAntiSplint then local sNewName = 'Prof_' .. ( EgtGetName( Proc.Id) or tostring( Proc.Id)) -- copio lavorazione per ingresso antischeggia (la copia è la lavorazione finale) local nMch2Id = EgtCopyMachining( sNewName, EgtGetName( nMchId)) diff --git a/UpdateLog.txt b/UpdateLog.txt index e3d3b0f..f31bad0 100644 --- a/UpdateLog.txt +++ b/UpdateLog.txt @@ -1,4 +1,7 @@ ==== Beam Update Log ==== +Versione 3.1g4 (30/07/2026) +- Fixed : in RoundCleanContour per tasche a 3 facce a U MillDown +- Modif : in ProfCamb aggiunta Q19, se = 1 disabilita lavorazione AntiSplint Versione 3.1g3 (24/07/2026) - Fixed : in slot con lama corretta scelta SCC diff --git a/Version.lua b/Version.lua index 8eaa1f4..74012e1 100644 --- a/Version.lua +++ b/Version.lua @@ -2,5 +2,5 @@ -- Gestione della versione di Beam NAME = 'Beam' -VERSION = '3.1g3' +VERSION = '3.1g4' MIN_EXE = '3.1b1' From 9795bbdc802c065972d9c632c03e6526bc749d88 Mon Sep 17 00:00:00 2001 From: "daniele.nicoli" Date: Fri, 31 Jul 2026 10:03:59 +0200 Subject: [PATCH 3/3] - ProfCamb, piccola correzione commit precedente. --- LuaLibs/ProcessProfCamb.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/LuaLibs/ProcessProfCamb.lua b/LuaLibs/ProcessProfCamb.lua index 45f2ff9..4311586 100644 --- a/LuaLibs/ProcessProfCamb.lua +++ b/LuaLibs/ProcessProfCamb.lua @@ -302,7 +302,7 @@ function ProcessProfCamb.Make( Proc, nPhase, nRawId, nPartId, dCurrOvmH) local sMilling -- in base alla direzione iniziale della curva e al valore di entrata valido, setto l'antischeggia local bMakeAs - local bDeleteAntiSplint = EgtGetInfo( Proc.Id, sDisableAntiSplint, 'i') == 1 + local bDeleteAntiSplint = ( EgtGetInfo( Proc.Id, sDisableAntiSplint, 'i') or 0) == 1 local vtStart = EgtSV( AuxId, GDB_ID.ROOT) if nSide == 0 then if abs( vtStart:getY()) >= dActivateCompoAng and dMakeAntiSplintOnHead and abs( dMakeAntiSplintOnHead) > 0 and not bDeleteAntiSplint then @@ -533,7 +533,7 @@ function ProcessProfCamb.Make( Proc, nPhase, nRawId, nPartId, dCurrOvmH) if bDouble then -- inserisco la lavorazione local sName - if bMakeAs and not bDeleteAntiSplint then + if bMakeAs then sName = 'ProfB_As_' .. ( EgtGetName( Proc.Id) or tostring( Proc.Id)) else sName = 'ProfB_' .. ( EgtGetName( Proc.Id) or tostring( Proc.Id)) @@ -585,7 +585,7 @@ function ProcessProfCamb.Make( Proc, nPhase, nRawId, nPartId, dCurrOvmH) ModifySideAndInvert( Proc, bHead) end -- se devo fare l'antischeggia in testa - if bMakeAs and not bDeleteAntiSplint then + if bMakeAs then local sNewName = 'ProfB_' .. ( EgtGetName( Proc.Id) or tostring( Proc.Id)) -- copio lavorazione per ingresso antischeggia (la copia è la lavorazione finale) local nMch2Id = EgtCopyMachining( sNewName, EgtGetName( nMchId)) @@ -623,7 +623,7 @@ function ProcessProfCamb.Make( Proc, nPhase, nRawId, nPartId, dCurrOvmH) end -- inserisco la prima lavorazione local sName - if bMakeAs and not bDeleteAntiSplint then + if bMakeAs then sName = 'Prof_As_' .. ( EgtGetName( Proc.Id) or tostring( Proc.Id)) else sName = 'Prof_' .. ( EgtGetName( Proc.Id) or tostring( Proc.Id)) @@ -700,7 +700,7 @@ function ProcessProfCamb.Make( Proc, nPhase, nRawId, nPartId, dCurrOvmH) ModifySideAndInvert( Proc, bHead) end -- se devo fare l'antischeggia in testa - if bMakeAs and not bDeleteAntiSplint then + if bMakeAs then local sNewName = 'Prof_' .. ( EgtGetName( Proc.Id) or tostring( Proc.Id)) -- copio lavorazione per ingresso antischeggia (la copia è la lavorazione finale) local nMch2Id = EgtCopyMachining( sNewName, EgtGetName( nMchId))