From 82f20f3c870fffcb52fa24fbf0d4c42bc40992d1 Mon Sep 17 00:00:00 2001 From: "luca.mazzoleni" Date: Tue, 18 Mar 2025 11:51:31 +0100 Subject: [PATCH 1/5] - correzione in log --- UpdateLog.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UpdateLog.txt b/UpdateLog.txt index c5a1f1a..a0eda27 100644 --- a/UpdateLog.txt +++ b/UpdateLog.txt @@ -4,7 +4,7 @@ Versione 2.7c1 (17/03/2025) - Modif : in HeadCut e Split, per decidere se fare doppio taglio verticale, si controlla anche il massimo possibile e non solo il minimo - Modif : in LapJoint migliorato controllo per decidere se feature di coda - Modif : nei tagli, se taglio rivolto verso il basso e non possibile tagliare di fianco, si fa in fase ribaltata -- Fixed : in BacthProcess (Ts7) corretta restituzione stato feature erroneamente segnalata verde +- Fixed : in BatchProcess (Ts7) corretta restituzione stato feature erroneamente segnalata verde - Fixed : corretta restituzione stato feature lavorata in doppio Versione 2.7b3 (03/03/2025) From 236254fed65b8cbf7b4957671e3a26d9d88744d6 Mon Sep 17 00:00:00 2001 From: "andrea.villa" Date: Thu, 20 Mar 2025 11:59:55 +0100 Subject: [PATCH 2/5] In Drill, calcolo AffectedFaces anche su Predrill --- LuaLibs/ProcessDrill.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/LuaLibs/ProcessDrill.lua b/LuaLibs/ProcessDrill.lua index 2da58bf..9701ea4 100644 --- a/LuaLibs/ProcessDrill.lua +++ b/LuaLibs/ProcessDrill.lua @@ -209,7 +209,8 @@ function ProcessDrill.AddPredrillFromDrillProc( Proc) PredrillProc.MainId = Proc.MainId PredrillProc.IsPredrill = true PredrillProc.IsPredrillOf = Proc.Id - + -- recupero l'elenco delle facce della parte interessate dalla feature + PredrillProc.AffectedFaces = BL.GetProcessAffectedFaces( PredrillProc) return true, PredrillProc end end From e1702d1263aba01f27fbb4db17e34526a36e0f8f Mon Sep 17 00:00:00 2001 From: "andrea.villa" Date: Mon, 24 Mar 2025 14:47:05 +0100 Subject: [PATCH 3/5] Corretto calcolo direzione di lavorazione in caso verticale e orizzontale entrambi a false. Se altezza faccia minore di massimo materiale, si fa orizzontale --- LuaLibs/ProcessCut.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/LuaLibs/ProcessCut.lua b/LuaLibs/ProcessCut.lua index 15ac9eb..24556f9 100644 --- a/LuaLibs/ProcessCut.lua +++ b/LuaLibs/ProcessCut.lua @@ -608,7 +608,8 @@ local function MakeFromTop( sCutting, Proc, nPhase, nRawId, nPartId, dOvmHead, b local vtOrthoO if bFromBottom and dCutV < dMaxDepth - BD.CUT_EXTRA and vtN:getZ() > 0 then vtOrthoO = -Z_AX() - elseif bHorizCut and ( not bVertCutOk or b3Solid:getDimX() > BD.LEN_SHORT_PART or Proc.AdvTail or ( vtN:getX() > 0 and vtN:getZ() <= 0.708) or ( abs( vtN:getY()) < 0.1 and vtN:getZ() <= 0)) then + elseif ( bHorizCut or ( dCutV < dMaxDepth - BD.CUT_EXTRA and not bVertCutOk)) and + ( not bVertCutOk or b3Solid:getDimX() > BD.LEN_SHORT_PART or Proc.AdvTail or ( vtN:getX() > 0 and vtN:getZ() <= 0.708) or ( abs( vtN:getY()) < 0.1 and vtN:getZ() <= 0)) then vtOrthoO = Z_AX() elseif b3Solid:getDimX() < BD.LEN_SHORT_PART and not Proc.AdvTail and abs( vtN:getY()) > 0.259 and vtN:getZ() > -0.174 and abs( vtN:getY()) > abs( vtN:getZ()) and dCutH < dMaxDepth + 10 * GEO.EPS_SMALL then From 2c68515b93619502f777d96f344f6bfc8e713be3 Mon Sep 17 00:00:00 2001 From: "andrea.villa" Date: Mon, 31 Mar 2025 15:15:15 +0200 Subject: [PATCH 4/5] In HeadCut e Split, per decidere se BigSection, si somma CUT_EXTRA ( prima si utilizzava CUT_EXTRA_MIN) --- LuaLibs/ProcessHeadCut.lua | 2 +- LuaLibs/ProcessSplit.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LuaLibs/ProcessHeadCut.lua b/LuaLibs/ProcessHeadCut.lua index 315c25a..1937769 100644 --- a/LuaLibs/ProcessHeadCut.lua +++ b/LuaLibs/ProcessHeadCut.lua @@ -409,7 +409,7 @@ function ProcessHeadCut.Make( Proc, nPhase, nRawId, nPartId, dOvmHead, bNeedHCut -- caratteristiche taglio local dDimYRef = EgtIf( b3Raw:getDimZ() < BD.MIN_DIM_HBEAM + 10 * GEO.EPS_SMALL, dMaxDepth, abs( BD.MAX_DIM_HTCUT_HBEAM)) local bBigSectionCut = ( b3Raw:getDimY() > 2 * dDimYRef - BD.CUT_EXTRA_MIN + 10 * GEO.EPS_SMALL) and - ( b3Raw:getDimZ() > EgtIf( BD.TURN, 2 * dMaxVertDepth, dMaxVertDepth + dMaxDepth2) - 2 * BD.CUT_EXTRA_MIN + 10 * GEO.EPS_SMALL) + ( b3Raw:getDimZ() > EgtIf( BD.TURN, 2 * dMaxVertDepth, dMaxVertDepth + dMaxDepth2) - 2 * BD.CUT_EXTRA + 10 * GEO.EPS_SMALL) local bHorizCut = ( ( b3Raw:getDimY() > b3Raw:getDimZ() + 10 * GEO.EPS_SMALL or BD.TURN) and b3Raw:getDimZ() < dMaxVertDepth - BD.CUT_EXTRA) local bDoubleHorizCut = ( ( BD.DOWN_HEAD or BD.TURN) and not bHorizCut and b3Raw:getDimY() > 2 * dDimYRef - BD.CUT_EXTRA_MIN + 10 * GEO.EPS_SMALL) local bDoubleCut = ( not bHorizCut and not bDoubleHorizCut and b3Raw:getDimY() > dDimYRef - BD.CUT_EXTRA + 10 * GEO.EPS_SMALL) and diff --git a/LuaLibs/ProcessSplit.lua b/LuaLibs/ProcessSplit.lua index cfce24d..5c1ad67 100644 --- a/LuaLibs/ProcessSplit.lua +++ b/LuaLibs/ProcessSplit.lua @@ -631,7 +631,7 @@ function ProcessSplit.Make( Proc, nPhase, nRawId, nPartId, nOrd, sDownOrSideOrSt -- caratteristiche taglio local dDimYRef = EgtIf( b3Raw:getDimZ() < BD.MIN_DIM_HBEAM + 10 * GEO.EPS_SMALL, dSawMaxDepth, abs( BD.MAX_DIM_HTCUT_HBEAM)) local bBigSectionCut = ( b3Raw:getDimY() > 2 * dDimYRef - BD.CUT_EXTRA_MIN + 10 * GEO.EPS_SMALL) and - ( b3Raw:getDimZ() > EgtIf( BD.TURN, 2 * dMaxVertDepth, dMaxVertDepth + dSawMaxDepth2) - 2 * BD.CUT_EXTRA_MIN + 10 * GEO.EPS_SMALL) + ( b3Raw:getDimZ() > EgtIf( BD.TURN, 2 * dMaxVertDepth, dMaxVertDepth + dSawMaxDepth2) - 2 * BD.CUT_EXTRA + 10 * GEO.EPS_SMALL) local bHorizCut = ( ( b3Raw:getDimY() > b3Raw:getDimZ() + 10 * GEO.EPS_SMALL or BD.TURN) and ( b3Raw:getDimZ() < dMaxVertDepth - BD.CUT_EXTRA)) local bDoubleHorizCut = ( ( BD.DOWN_HEAD or BD.TURN) and not bHorizCut and b3Raw:getDimY() > 2 * dDimYRef - BD.CUT_EXTRA_MIN + 10 * GEO.EPS_SMALL) local bDoubleCut = ( not bHorizCut and not bDoubleHorizCut and b3Raw:getDimY() > dDimYRef - BD.CUT_EXTRA + 10 * GEO.EPS_SMALL) and From ced290604a1877d2bf0ecbe33cfd92a871e93b8f Mon Sep 17 00:00:00 2001 From: "luca.mazzoleni" Date: Tue, 1 Apr 2025 09:09:16 +0200 Subject: [PATCH 5/5] update log e version --- UpdateLog.txt | 5 +++++ Version.lua | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/UpdateLog.txt b/UpdateLog.txt index f0fb688..f22aa2e 100644 --- a/UpdateLog.txt +++ b/UpdateLog.txt @@ -1,5 +1,10 @@ ==== Beam Update Log ==== +Versione 2.7d1 (01/04/2025) +- Fixed : in PreDrill piccola correzione +- Fixed : nei tagli corretto calcolo direzione di lavorazione +- Fixed : in HeadCut e Split corretto calcolo lunghezza extra di taglio + Versione 2.7c2 (24/03/2025) - Fixed : in BatchProcess (Ts7) riabilitata modifica barra erroneamente rimossa diff --git a/Version.lua b/Version.lua index 3dd5ef5..f801f3c 100644 --- a/Version.lua +++ b/Version.lua @@ -2,5 +2,5 @@ -- Gestione della versione di Beam NAME = 'Beam' -VERSION = '2.7c2' +VERSION = '2.7d1' MIN_EXE = '2.6e5'