From 330698b6aa0147d3ad94b49484a50acb921d1d02 Mon Sep 17 00:00:00 2001 From: "luca.mazzoleni" Date: Thu, 22 Aug 2024 12:01:43 +0200 Subject: [PATCH] =?UTF-8?q?in=20tunnel=20LapJoint=20->=20tunnel=20lo=20smu?= =?UTF-8?q?sso=20funziona=20anche=20se=20=C3=A8=20forzata=20la=20sega=20a?= =?UTF-8?q?=20catena?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LuaLibs/ProcessLapJoint.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/LuaLibs/ProcessLapJoint.lua b/LuaLibs/ProcessLapJoint.lua index 6a93761..b56a7f0 100644 --- a/LuaLibs/ProcessLapJoint.lua +++ b/LuaLibs/ProcessLapJoint.lua @@ -5824,6 +5824,11 @@ local function MakeMoreFaces( Proc, nPhase, nRawId, nPartId, dOvmHead, bSinglePa -- verifico se posso farlo con la sega-catena local bMakeChainSaw, sSawing, dMaxMat, dSawCornerRad, dSawThick, _, dSawWidth = VerifyChainSaw( Proc, dDimMin, dDimMax, dDepth) if bMakeChainSaw then + -- se forzata sega a catena devo verificare se inserire lo smusso + if bForceChainsaw and nChamfer > 0 then + local nOk, sErr = MakeChamfer( Proc, false, nAddGrpId, vtOrtho, b3Solid, nLundIdFace, dDepthCham) + if nOk < 0 then return -1, sErr end + end -- Ricalcolo l'affondamento tenendo conto di eventuale inclinazione local dSlDepth local frSlDh = Frame3d( Proc.Box:getCenter(), vtOrtho)