From d9e11e61b6f4d8def40c6b97cf3b0b2db24380f4 Mon Sep 17 00:00:00 2001 From: DarioS Date: Sun, 1 Aug 2021 17:17:52 +0200 Subject: [PATCH] DataWall : - in lavorazione FreeContour migliorata gestione angolo interno prima con fresa e faccia inclinata. --- LuaLibs/WProcessFreeContour.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LuaLibs/WProcessFreeContour.lua b/LuaLibs/WProcessFreeContour.lua index 09148ee..b4471fd 100644 --- a/LuaLibs/WProcessFreeContour.lua +++ b/LuaLibs/WProcessFreeContour.lua @@ -1149,7 +1149,7 @@ local function AddMillings( sMilling, vFace, Proc, nRawId, b3Raw, nConeCut, nAdd if nConeCut == 1 then EgtSetMachiningParam( MCH_MP.LEAVETAB, false) end -- aggiungo geometria EgtSetMachiningGeometry( {{ Proc.Id, vFace[i].Fac}}) - local dSal = EgtIf( #vFace == 1, -dMillDiam / 2, 0) + local dSal = EgtIf( #vFace == 1 or vFace[i].PrevAng < -30, -dMillDiam / 2, 0) local dEal = vFace[i].Whisk - vFace[i].Len EgtSetMachiningParam( MCH_MP.STARTADDLEN, dSal) EgtSetMachiningParam( MCH_MP.ENDADDLEN, dEal)