DataBeam :

- correzioni a LapJoint per Blockhaus
- modifiche a LapJoint per angoli limite con due facce
- modifiche a tagli con lama per angoli lama da sotto.
This commit is contained in:
DarioS
2022-03-20 18:59:52 +01:00
parent ebda8e3d29
commit 5a2e494459
4 changed files with 72 additions and 41 deletions
+12 -4
View File
@@ -679,12 +679,20 @@ function BeamLib.UpdateTCING( nRawId, dTCI)
end
-------------------------------------------------------------------------------------------------------------
function BeamLib.GetNzLimDownUp( b3Raw, bFromTop)
function BeamLib.GetNzLimDownUp( b3Raw, vtN, vtOrtho)
if not BD.C_SIMM then
if bFromTop then
return EgtIf( b3Raw:getDimZ() < BD.MIN_DIM_HBEAM, -0.609, -0.383)
if vtOrtho and vtOrtho:getZ() > 0.5 then
if vtN and ( abs( vtN:getY()) < 0.1 or abs( vtN:getY()) > 0.49) then
return -0.708
else
return EgtIf( b3Raw:getDimZ() < BD.MIN_DIM_HBEAM, -0.609, -0.383)
end
else
return EgtIf( b3Raw:getDimZ() < 200, -0.5, -0.258)
if vtN and ( abs( vtN:getY()) > 0.49) then
return -0.708
else
return EgtIf( b3Raw:getDimZ() < 200, -0.5, -0.258)
end
end
else
return -0.484