DataBeam :
- corretta assegnazione fori cieca a fase ribaltata e non ruotata - corretta gestione ruotato insieme con ribaltato senza lavorazioni subito dopo carico della barra.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
-- ProcessDrill.lua by Egaltech s.r.l. 2020/05/19
|
||||
-- ProcessDrill.lua by Egaltech s.r.l. 2020/05/23
|
||||
-- Gestione calcolo forature per Travi
|
||||
|
||||
-- Tabella per definizione modulo
|
||||
@@ -127,7 +127,11 @@ function ProcessDrill.Classify( Proc, b3Raw)
|
||||
local bFaceDown = ( ptCen:getZ() < b3Raw:getMin():getZ() + dDiam / 2 and not Proc.Head and not Proc.Tail)
|
||||
-- verifico se il foro è sotto e quindi va spostato o sopra o sul fianco
|
||||
if (( vtExtr:getZ() < BD.DRILL_VZ_MIN or bFaceDown) and ( not bOpen or Proc.Flg ~= 1)) then
|
||||
return true, not BD.ROT90, BD.ROT90
|
||||
if not bOpen then
|
||||
return true, true, false
|
||||
else
|
||||
return true, not BD.ROT90, BD.ROT90
|
||||
end
|
||||
else
|
||||
return true, false, false
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user