diff --git a/LuaLibs/BeamExec.lua b/LuaLibs/BeamExec.lua index 67cd780..1ffe804 100644 --- a/LuaLibs/BeamExec.lua +++ b/LuaLibs/BeamExec.lua @@ -1554,7 +1554,7 @@ local function VerifyMortiseMirrored( Proc, vProc, b3Raw) end -- recupero eventuale utensile in doppio e suo diametro local sToolDoubleName = EgtTdbGetCurrToolValInNotes( MCH_TP.USERNOTES, 'DOUBLE', 's') - if not sToolDoubleName or not EgtTdbSetCurrTool( sToolDoubleName) or not EgtTdbGetCurrToolParam( MCH_TP.ACTIVE) then + if not sToolDoubleName or not EgtTdbSetCurrTool( sToolDoubleName) or not EgtFindToolInCurrSetup( sToolDoubleName) then return end local dToolDoubleDiam = EgtTdbGetCurrToolParam( MCH_TP.DIAM, 'd') @@ -1623,7 +1623,7 @@ local function VerifyDtMortiseMirrored( Proc, vProc, b3Raw) end -- recupero eventuale utensile in doppio e suo diametro local sToolDoubleName = EgtTdbGetCurrToolValInNotes( MCH_TP.USERNOTES, 'DOUBLE', 's') - if not sToolDoubleName or not EgtTdbSetCurrTool( sToolDoubleName) or not EgtTdbGetCurrToolParam( MCH_TP.ACTIVE) then + if not sToolDoubleName or not EgtTdbSetCurrTool( sToolDoubleName) or not EgtFindToolInCurrSetup( sToolDoubleName) then return end local dToolDoubleDiam = EgtTdbGetCurrToolParam( MCH_TP.DIAM, 'd') @@ -1704,7 +1704,7 @@ local function VerifyDrillMirrored( Proc, vProc, b3Raw) local dToolTipLength = EgtTdbGetCurrToolParam( MCH_TP.TOTLEN) - EgtTdbGetCurrToolParam( MCH_TP.LEN) -- recupero eventuale utensile in doppio, suo diametro e massima lavorazione local sToolDoubleName = EgtTdbGetCurrToolValInNotes( MCH_TP.USERNOTES, 'DOUBLE', 's') - if not sToolDoubleName or not EgtTdbSetCurrTool( sToolDoubleName) or not EgtTdbGetCurrToolParam( MCH_TP.ACTIVE) then + if not sToolDoubleName or not EgtTdbSetCurrTool( sToolDoubleName) or not EgtFindToolInCurrSetup( sToolDoubleName) then return end local dToolDoubleDiam = EgtTdbGetCurrToolParam( MCH_TP.DIAM, 'd') diff --git a/LuaLibs/MachiningLib.lua b/LuaLibs/MachiningLib.lua index 3fa8063..d3322d7 100644 --- a/LuaLibs/MachiningLib.lua +++ b/LuaLibs/MachiningLib.lua @@ -108,7 +108,7 @@ local function SetCurrMachiningAndTool( sMachName) local sTool = EgtTdbGetToolFromUUID( sTuuid) if not sTool then return false end if not EgtTdbSetCurrTool( sTool) then return false end - local bActive = EgtTdbGetCurrToolParam( MCH_TP.ACTIVE) + local bActive = EgtFindToolInCurrSetup( sTool) local sHead = EgtTdbGetCurrToolParam( MCH_TP.HEAD) local nHead = tonumber( sHead:sub( 2, #sHead)) local bH2 = ( nHead >= 21 and nHead <= 29) diff --git a/UpdateLog.txt b/UpdateLog.txt index 18f36ba..c187f30 100644 --- a/UpdateLog.txt +++ b/UpdateLog.txt @@ -1,5 +1,13 @@ ==== Beam Update Log ==== +Versione 2.5j1 (23/10/2023) +- Added : in Process (lancio da EgtCAM5 quindi uso praticamente solo interno) aggiunta possibilità di tenere ordine pezzi in barra come da selezione +- Fixed : piccola correzione a Classify di FeatureTopology per casi senza geometria +- Fixed : in HeadCut e Split corretto calcolo allungamenti/accorciamenti per evitare lunghezze del percorso negative +- Fixed : in Lapjoint -> MakePocket aggiunto messaggio in caso si rovini il pezzo successivo +- Modif : in Topology aggiunti casi al check solo direzione principale +- Modif : nella ricerca lavorazione da usare controllo di utensile attivo sostituito con controllo utensile presente nel setup corrente + Versione 2.5i2 (27/09/2023) - Added : aggiunto riconoscimento sottosquadro da facce non adiacenti - Fixed : in LapJoint corretto caso tunnel lungo non lavorato correttamente diff --git a/Version.lua b/Version.lua index 38866fa..153486b 100644 --- a/Version.lua +++ b/Version.lua @@ -1,6 +1,6 @@ --- Version.lua by Egaltech s.r.l. 2023/09/26 +-- Version.lua by Egaltech s.r.l. 2023/10/18 -- Gestione della versione di Beam NAME = 'Beam' -VERSION = '2.5i2' +VERSION = '2.5j1' MIN_EXE = '2.5c1'