From 187beba6826f220eb106c35d1eaed7351add03aa Mon Sep 17 00:00:00 2001 From: "daniele.nicoli" Date: Thu, 30 Jul 2026 17:09:42 +0200 Subject: [PATCH] - 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'