diff --git a/LuaLibs/ProcessDtMortise.lua b/LuaLibs/ProcessDtMortise.lua index bf3ee34..e60a7e9 100644 --- a/LuaLibs/ProcessDtMortise.lua +++ b/LuaLibs/ProcessDtMortise.lua @@ -1,4 +1,4 @@ --- ProcessDtMortise.lua by Egaltech s.r.l. 2020/10/18 +-- ProcessDtMortise.lua by Egaltech s.r.l. 2020/10/21 -- Gestione calcolo mortase a coda di rondine per Travi -- Tabella per definizione modulo @@ -186,7 +186,7 @@ function ProcessDtMortise.Make( Proc, nPhase, nRawId, nPartId, dCurrOvmH) local nSt, nEnd = EgtCurveDomain( AuxId) for i = nSt, nEnd - 1 do local dRad = EgtCurveCompoRadius( AuxId, i) - if dRad > 0 and dRad < dToolDiam / 2 then + if dRad > 0 and dRad < dToolDiam / 2 - GEO.EPS_ZERO then local sErr = 'Radius too small : Error on DtMortise ' .. tostring( Proc.Id) EgtOutLog( sErr) return false, sErr