DataBeam :

- in DtMortise migliorato controllo raggio troppo piccolo per utensile.
This commit is contained in:
Dario Sassi
2020-10-22 09:37:04 +00:00
parent e7b3cbacc0
commit 70fee25229
+2 -2
View File
@@ -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