From 8c4f0e15de6c6398b35f7cfbb0524b939d6054da Mon Sep 17 00:00:00 2001 From: "andrea.villa" Date: Fri, 17 Jan 2025 14:53:57 +0100 Subject: [PATCH] =?UTF-8?q?In=20Cut,=20si=20taglia=20dal=20basso=20solo=20?= =?UTF-8?q?se=20il=20pezzo=20piccolo=20=C3=A8=20gi=C3=A0=20staccato=20dall?= =?UTF-8?q?a=20barra?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LuaLibs/ProcessCut.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LuaLibs/ProcessCut.lua b/LuaLibs/ProcessCut.lua index 2981ba3..1989be8 100644 --- a/LuaLibs/ProcessCut.lua +++ b/LuaLibs/ProcessCut.lua @@ -272,7 +272,7 @@ local function MakeFromTop( sCutting, Proc, nPhase, nRawId, nPartId, dOvmHead, b local dNzLimDwnUp = BL.GetNzLimDownUp( b3Raw, vtN) local bDownCut = ( vtN:getZ() <= dNzLimDwnUp) if bFromBottom == nil then - bFromBottom = ( vtN:getZ() > 0.25 and b3Solid:getDimX() < BD.LEN_SHORT_PART and not Proc.AdvTail and vtN:getX() < 0 and abs( vtN:getY()) < 0.259) + bFromBottom = ( vtN:getZ() > 0.25 and ( b3Solid:getDimX() < BD.LEN_SHORT_PART and BL.IsSplittedPartPhase( nPhase)) and not Proc.AdvTail and vtN:getX() < 0 and abs( vtN:getY()) < 0.259) end local dMinFeatureLengthForLongCut = EgtIf( BD.C_SIMM, 590, 400) -- verifico se da considerare taglio lungo ( non da sotto, inclinato non più di 30deg, largo come la trave e abbastanza lungo)