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