From 104663a89a3c3bda2d86ac7fee21866a5c8f2038 Mon Sep 17 00:00:00 2001 From: "andrea.villa" Date: Tue, 15 Jul 2025 16:46:10 +0200 Subject: [PATCH] In LapJoint, riduzione massimo materiale lama per lavorazioni antischeggia di lama con direzione verticale. --- LuaLibs/ProcessLapJoint.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/LuaLibs/ProcessLapJoint.lua b/LuaLibs/ProcessLapJoint.lua index 88478c9..7630dca 100644 --- a/LuaLibs/ProcessLapJoint.lua +++ b/LuaLibs/ProcessLapJoint.lua @@ -3398,6 +3398,10 @@ local function MakeAntiSplintBySaw( Proc, nFacet, vtN, b3Raw, nFacInd, bReduceDe end end local dExtraOffs = 0 + -- se il taglio è praticamente verticale, riduto massimo materiale lama + if BD.DECR_VERT_CUT and vtN:getZ() > 0.985 then + dMaxDepth = dMaxDepth - BD.DECR_VERT_CUT - BD.COLL_SIC + end -- se profondità superiore al massimo lama modifico elevazione if dDepth > dMaxDepth then dExtraOffs = dMaxDepth - dDepth