DataBeam :

- correzioni varie per FAST.
This commit is contained in:
Dario Sassi
2021-03-20 18:45:28 +00:00
parent 681d9f0f71
commit 91dd924536
2 changed files with 25 additions and 16 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
-- ProcessDrill.lua by Egaltech s.r.l. 2021/03/19
-- ProcessDrill.lua by Egaltech s.r.l. 2021/03/20
-- Gestione calcolo forature per Travi
-- Tabella per definizione modulo
@@ -389,7 +389,7 @@ function ProcessDrill.Make( Proc, nPhase, nRawId, nPartId)
if AreSameVectorApprox( vtExtr, Z_AX()) then
nSCC = MCH_SCC.ADIR_YM
elseif abs( vtExtr:getX()) < 0.1 then
local bNearTail = ( Proc.Box:getCenter():getX() < b3Solid:getCenter():getX())
local bNearTail = ( Proc.Box:getCenter():getX() < b3Solid:getCenter():getX() and Proc.Box:getCenter():getX() - b3Solid:getMin():getX() < 1000)
local bVeryShortPart = ( BD.LEN_VERY_SHORT_PART and b3Solid:getDimX() < BD.LEN_VERY_SHORT_PART)
nSCC = EgtIf( BL.IsPartFinalPhase( nPhase) or ( bNearTail and not bVeryShortPart), MCH_SCC.ADIR_XM, MCH_SCC.ADIR_XP)
elseif vtExtr:getY() > 0.1 then