From dac5b40d3bbc2da1cfafbe9c405237afb0996db4 Mon Sep 17 00:00:00 2001 From: "daniele.nicoli" Date: Tue, 9 Jun 2026 09:45:56 +0200 Subject: [PATCH] LapJoint - non viene eseguito Antisplint su facce chiuse e limitate da altre facce --- LuaLibs/ProcessLapJoint.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/LuaLibs/ProcessLapJoint.lua b/LuaLibs/ProcessLapJoint.lua index f9924e7..17646f2 100644 --- a/LuaLibs/ProcessLapJoint.lua +++ b/LuaLibs/ProcessLapJoint.lua @@ -4800,6 +4800,16 @@ local function ManageAntiSplintBySaw( Proc, b3Raw, b3Solid, bIsU, vtN, nFacInd, local dSawThick = 0 local dMaxDepth = 200 local bAdj, dAng, dExtraOffs, sWarn2, nIdMach + -- Se faccia sulla quale cerca di applicare l'antisplint รจ chiusa e limitata da altre facce non lo applica + local FacetEdge = BL.GetEdgesInfo( Proc, Proc.Face[nFacet+1]) + for nEdge = 1, #FacetEdge do + if AreSameVectorApprox( FacetEdge[nEdge].ToolDirection, vtN) and ( not FacetEdge[nEdge].IsStartOpen or not FacetEdge[nEdge].IsEndOpen) and not FacetEdge[nEdge].IsOpen then + sWarn2 = 'Warning : antisplint not applicable on closed face' + if not sWarn then sWarn = '' end + sWarn = EgtIf( #sWarn > 0, sWarn .. '\n' .. sWarn2, sWarn2) + return bMadeASbyBld, true, sWarn + end + end bMadeASbyBld, sWarn2, nIdMach, dSawThick, dMaxDepth, bAdj, dAng, dExtraOffs = MakeAntiSplintBySaw( Proc, nFacet, vtN, b3Raw, nFacInd, bReduceDepth, bMillDown) if not bMadeASbyBld then return bMadeASbyBld, false, sWarn2 end if sWarn2 then