From a6b72d13cd277d837965974c2c05cd52c40c65c5 Mon Sep 17 00:00:00 2001 From: "luca.mazzoleni" Date: Fri, 6 Jun 2025 11:02:09 +0200 Subject: [PATCH 1/2] - in LapJoint migliorie a svuotature --- LuaLibs/WProcessLapJoint.lua | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/LuaLibs/WProcessLapJoint.lua b/LuaLibs/WProcessLapJoint.lua index 04a0e57..371b113 100644 --- a/LuaLibs/WProcessLapJoint.lua +++ b/LuaLibs/WProcessLapJoint.lua @@ -2288,6 +2288,10 @@ local function VerifyPocket( Proc, nFacet, dElev, nRawId) local _, dH, dV = EgtSurfTmFacetMinAreaRectangle( Proc.Id, nFacet, GDB_ID.ROOT) local dStartDiameter = min( dH, dV) local dMaxDiameter = dStartDiameter + -- se tasca chiusa si riduce il massimo diametro per evitare che la svuotatura fallisca + if Proc.Topology == 'Pocket' or Proc.Topology == 'Tunnel' then + dMaxDiameter = 0.9 * dStartDiameter + end -- se una sola faccia posso usare un utensile più grande della faccia if Proc.Fct == 1 then dMaxDiameter = 2 * dMaxDiameter @@ -2295,7 +2299,12 @@ local function VerifyPocket( Proc, nFacet, dElev, nRawId) -- se forma ad L posso usare un utensile più grande della faccia local bIsL = ( Proc.Fct == 2 or WL.TestElleShape3( Proc.Id, Proc.Fct) or WL.TestElleShape4( Proc.Id, Proc.Fct) == 2) if bIsL then - dMaxDiameter = 2 * dMaxDiameter + if Proc.Fct < 4 then + dMaxDiameter = 2 * dMaxDiameter + -- per tasche chiuse l'utensile non può essere più grande del lato più grande + else + dMaxDiameter = min( 2 * dMaxDiameter, max( dH, dV)) + end end -- se forma ad U riduco il diametro se necessario local bIsU = ( Proc.Fct == 3 and not WL.TestElleShape3( Proc.Id, Proc.Fct)) @@ -2389,7 +2398,7 @@ local function VerifyPocket( Proc, nFacet, dElev, nRawId) -- se tasca chiusa cerco lavorazione con diametro massimo pari a dimensione tasca e riverifico per eventuale doppio if bForceClosedPocket then - dMaxDiameter = dStartDiameter + dMaxDiameter = 0.9 * dStartDiameter bUseDElevToFindPocketing = true sPocketing = WM.FindPocketing( 'Pocket', dMaxDiameter, dElev, nil, nil, bExcludeNoTipFeed, dDistanceToNearestPart) if not sPocketing then From dfeb8c38dd960c168de8bf78dd9c58633d38ab0d Mon Sep 17 00:00:00 2001 From: "luca.mazzoleni" Date: Fri, 6 Jun 2025 11:03:43 +0200 Subject: [PATCH 2/2] update vresion e log --- UpdateLog.txt | 3 +++ Version.lua | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/UpdateLog.txt b/UpdateLog.txt index 1088ac1..d1f655f 100644 --- a/UpdateLog.txt +++ b/UpdateLog.txt @@ -1,5 +1,8 @@ ==== Wall Update Log ==== +Versione 2.7f2 (06/06/2025) +- Fixed : in Lapjoint migliorie alle svuotature + Versione 2.7f1 (05/06/2025) - Added : gestita forzatura freecontour di fresa per macchine senza lama (costante WallData FORCE_MILL_CONTOUR) - Modif : migliorata DoubleCut diff --git a/Version.lua b/Version.lua index 1313302..e5e95f1 100644 --- a/Version.lua +++ b/Version.lua @@ -2,5 +2,5 @@ -- Gestione della versione di Wall NAME = 'Wall' -VERSION = '2.7f1' +VERSION = '2.7f2' MIN_EXE = '2.6k1'