From 433d561f7f592ab1a70b8a274f9898b1f0f4c72a Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Sat, 6 Feb 2021 17:22:06 +0000 Subject: [PATCH] =?UTF-8?q?DataBeam=20:=20-=20correzione=20a=20LongDoubleC?= =?UTF-8?q?ut=20quando=20=C3=A8=20costituito=20da=20due=20facce=20non=20ad?= =?UTF-8?q?iacenti.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LuaLibs/ProcessLongDoubleCut.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LuaLibs/ProcessLongDoubleCut.lua b/LuaLibs/ProcessLongDoubleCut.lua index 969121f..374efa6 100644 --- a/LuaLibs/ProcessLongDoubleCut.lua +++ b/LuaLibs/ProcessLongDoubleCut.lua @@ -1,4 +1,4 @@ --- ProcessLongDoubleCut.lua by Egaltech s.r.l. 2020/12/04 +-- ProcessLongDoubleCut.lua by Egaltech s.r.l. 2021/02/06 -- Gestione calcolo doppio taglio longitudinale per Travi -- Tabella per definizione modulo @@ -489,7 +489,7 @@ function ProcessLong2Cut.Make( Proc, nPhase, nRawId, nPartId, bForcedBladeMaster return false, sErr end -- se angolo compreso รจ inferiore ai 90 gradi do errore - if dAng < - ( 90 + 10 * GEO.EPS_SMALL) then + if dAng and dAng < - ( 90 + 10 * GEO.EPS_ANG_SMALL) then local sErr = 'Error : Impossible use a mill with angle less than 90' EgtOutLog( sErr) return false, sErr