DataBeam :

- correzione a LongDoubleCut quando è costituito da due facce non adiacenti.
This commit is contained in:
Dario Sassi
2021-02-06 17:22:06 +00:00
parent 7f7801e180
commit 433d561f7f
+2 -2
View File
@@ -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