From 0c16b5e96957423e52a80ae7d553d7e83659d245 Mon Sep 17 00:00:00 2001 From: "andrea.villa" Date: Wed, 17 Sep 2025 09:20:09 +0200 Subject: [PATCH] =?UTF-8?q?In=20LapJoint,=20revert=20della=20modifica=20fa?= =?UTF-8?q?tta=2012-09-2025=20.=20Se=20la=20feature=20veniva=20lavorata=20?= =?UTF-8?q?giusto=20prima=20dello=20scarico,=20la=20pinza=20di=20scarico,?= =?UTF-8?q?=20che=20non=20si=20poteva=20pi=C3=B9=20spostare,=20andava=20in?= =?UTF-8?q?=20extra-corsa.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LuaLibs/ProcessLapJoint.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/LuaLibs/ProcessLapJoint.lua b/LuaLibs/ProcessLapJoint.lua index dee8e9d..9b4c6f1 100644 --- a/LuaLibs/ProcessLapJoint.lua +++ b/LuaLibs/ProcessLapJoint.lua @@ -802,11 +802,8 @@ function ProcessLapJoint.IsTailFeature( Proc, b3Raw) end end - -- se non è trave corta e la feature è aperta in coda, si sposta dopo separazione a patto che non sia più lunga di metà trave - if b3Solid:getDimX() > BD.LEN_SHORT_PART and Proc.AffectedFaces.Left and Proc.Box:getDimX() < 0.6 * b3Solid:getDimX() then - return true -- se lunga come trave, oppure non è trave corta e la sua lunghezza supera il massimo o il 80% della lunghezza della trave - elseif Proc.Box:getDimX() > b3Solid:getDimX() - 1 or + if Proc.Box:getDimX() > b3Solid:getDimX() - 1 or ( b3Solid:getDimX() > BD.LEN_SHORT_PART and Proc.Box:getDimX() > min( BD.MAX_LEN_HTFEA, 0.8 * b3Solid:getDimX())) then return false end