From b65a4e2220f3cee89634cf952f03ff5913586a0c Mon Sep 17 00:00:00 2001 From: "luca.mazzoleni" Date: Mon, 7 Aug 2023 16:40:39 +0200 Subject: [PATCH 1/2] In Lapjoint -> MakeSideGrooveByMill controllo testa sotto al grezzo escluso se richiesto il move after --- LuaLibs/WProcessLapJoint.lua | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/LuaLibs/WProcessLapJoint.lua b/LuaLibs/WProcessLapJoint.lua index 37226a1..cd67915 100644 --- a/LuaLibs/WProcessLapJoint.lua +++ b/LuaLibs/WProcessLapJoint.lua @@ -24,7 +24,8 @@ -- 2023/06/30 Aggiunta lettura delle note esistenti dalle lavorazioni per evitare di sovrascriverle. -- 2023/07/10 In MakeSideGrooveByMill si impedisce ora di lavorare una groove se la testa deve scendere sotto al limite superiore del grezzo. -- 2023/07/25 Aggiunte passate laterali per SideGroove, se specificato SIDESTEP nelle note utensile. --- 2023/01/08 Migliorato controllo testa sotto al grezzo in SieGroove. +-- 2023/08/01 Migliorato controllo testa sotto al grezzo in SieGroove. +-- 2023/08/07 Controllo testa sotto al grezzo in SideGroove escluso se richiesto il move after. -- Tabella per definizione modulo local WPL = {} @@ -1511,8 +1512,10 @@ local function MakeSideGrooveByMill( Proc, nFacet, nRawId, b3Raw, sCustomMach, d local dHeadMinWidth = 160 local dHeadMinWidthHeight = 30 -- se la testa scende sotto al limite superiore del grezzo e non c'è sufficiente capacità di sottosquadro - if ( dMillTotLen < ( abs( dRawMaxZ - dGrooveMinZ) + 10 * GEO.EPS_SMALL) and ( dElev > 0.5 * ( dMillDiam - dHeadMinWidth) - 10 * GEO.EPS_SMALL)) or - ( dMillTotLen + dHeadMinWidthHeight < ( abs( dRawMaxZ - dGrooveMinZ) + 10 * GEO.EPS_SMALL) and ( dElev > 0.5 * ( dMillDiam - dHeadMaxWidth) - 10 * GEO.EPS_SMALL)) then + -- controllo disattivato se move after + if WD.SIDEMILL_BEFORE and not ( bEnablePreMill or bAsEnablePreMill) and + ( ( dMillTotLen < ( abs( dRawMaxZ - dGrooveMinZ) + 10 * GEO.EPS_SMALL) and ( dElev > 0.5 * ( dMillDiam - dHeadMinWidth) - 10 * GEO.EPS_SMALL)) or + ( dMillTotLen + dHeadMinWidthHeight < ( abs( dRawMaxZ - dGrooveMinZ) + 10 * GEO.EPS_SMALL) and ( dElev > 0.5 * ( dMillDiam - dHeadMaxWidth) - 10 * GEO.EPS_SMALL))) then local sErr = 'Error : Tool too short, head will collide with rawpart' EgtOutLog( sErr) return false, sErr From fcd7ee98a07cf594eaf5b3b0236c992192d89e17 Mon Sep 17 00:00:00 2001 From: "luca.mazzoleni" Date: Mon, 7 Aug 2023 17:08:08 +0200 Subject: [PATCH 2/2] update log --- UpdateLog.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UpdateLog.txt b/UpdateLog.txt index fb66f63..c5b17ef 100644 --- a/UpdateLog.txt +++ b/UpdateLog.txt @@ -1,7 +1,7 @@ ==== Wall Update Log ==== Versione 2.5g4 (01/08/2023) -- Modif : in sideGroove migliorato il controllo che la testa non scenda sotto al livello del grezzo (ora considera anche il diametro minimo della testa). +- Modif : in sideGroove migliorato il controllo che la testa non scenda sotto al livello del grezzo (ora considera anche il diametro minimo della testa e non interviene se la lavorazione è spostata a dopo il taglio outline). - Fixed : corretto bug in MachiningLib -> AddMachining che contempla il caso in cui Proc non sia una tabella Versione 2.5g3 (26/07/2023)