DataBeam :

- correzioni e migliorie varie.
This commit is contained in:
Dario Sassi
2020-04-02 15:01:14 +00:00
parent c3be703a20
commit 511201107e
3 changed files with 191 additions and 25 deletions
+5 -2
View File
@@ -1,4 +1,4 @@
-- BeamExec.lua by Egaltech s.r.l. 2020/03/18
-- BeamExec.lua by Egaltech s.r.l. 2020/04/02
-- Libreria esecuzione lavorazioni per Travi
-- 2019/07/11 Aggiunta gestione stato rotazione di feature per TS3.
-- 2019/09/04 Corretto controllo feature di testa e coda con sovramateriale di testa elevato.
@@ -6,6 +6,7 @@
-- 2020/01/21 Aggiunta gestione ScarfJoint
-- 2020/02/10 Aggiunta gestione FrenchRidgeLap
-- 2020/02/11 Aggiunta gestione BlockHausFront
-- 2020/04/02 Fori di testa dal basso non danno errore e fanno ribaltare la trave.
-- Tabella per definizione modulo
local BeamExec = {}
@@ -495,6 +496,7 @@ local function ClassifyFeatures( vProc, b3Raw, Stats)
local Proc = vProc[i]
local bOk = true
local bDown = false
local bDownOnHeadOk = false
-- se intestatura
if Hcut.Identify( Proc) then
nHeading = i
@@ -525,6 +527,7 @@ local function ClassifyFeatures( vProc, b3Raw, Stats)
-- se foratura
elseif Drill.Identify( Proc) then
bOk, bDown = Drill.Classify( Proc, b3Raw)
bDownOnHeadOk = true
-- se tenone
elseif Tenon.Identify( Proc) then
bOk, bDown = Tenon.Classify( Proc, b3Raw)
@@ -574,7 +577,7 @@ local function ClassifyFeatures( vProc, b3Raw, Stats)
-- assegno risultato
if bOk then
-- non ammessa feature di testa da lavorare ribaltata
if Proc.Head and bDown then
if Proc.Head and bDown and not bDownOnHeadOk then
Proc.Flg = 0
Proc.Down = true
bAllOk = false