DataBeam :

- corretta GetNzLimDownUp per FAST.
This commit is contained in:
DarioS
2022-04-05 11:56:35 +02:00
parent 3fb1acd83e
commit 43a4ac9c9e
+9 -2
View File
@@ -1,4 +1,4 @@
-- BeamLib.lua by Egaltech s.r.l. 2022/01/11
-- BeamLib.lua by Egaltech s.r.l. 2022/04/05
-- Libreria globale per Travi
-- 2020/07/28 Corretto calcolo attacchi e uscite di lame per non uscire dalla faccia sotto.
-- 2020/08/18 Aggiunto a GetNearestParalOpposite e GetNearestOrthoOpposite parametro opzionale vtNorm.
@@ -9,6 +9,7 @@
-- 2021/07/15 Aggiunta GetFaceElevationFromPointDir.
-- 2021/09/12 Aggiustamenti in GetNearestParalOpposite e GetNearestOrthoOpposite.
-- 2022/01/11 In GetNearest*Opposite ridotto vantaggio XY rispetto a Z da 1 -> 0.9 a 1 -> 0.99.
-- 2022/04/05 Modifiche a GetNzLimDownUp per FAST.
-- Tabella per definizione modulo
local BeamLib = {}
@@ -691,7 +692,13 @@ function BeamLib.GetNzLimDownUp( b3Raw, vtN, vtOrtho)
if vtN and ( abs( vtN:getY()) > 0.866) then
return -0.708
else
return EgtIf( b3Raw:getDimZ() < 200, -0.5, -0.258)
if b3Raw:getDimZ() < 200 then
return -0.5
elseif b3Raw:getDimZ() < BD.MIN_DIM_HBEAM then
return -0.258
else
return -0.174
end
end
end
else