DataBeam :

- aggiunte funzioni sperimentali per ScarfJoint (dardo di giove)
- in Mortise aggiunta gestione caso passante.
This commit is contained in:
Dario Sassi
2020-01-22 11:21:22 +00:00
parent 253fbfe73a
commit a49ce81cb0
3 changed files with 379 additions and 15 deletions
+11 -1
View File
@@ -1,8 +1,9 @@
-- BeamExec.lua by Egaltech s.r.l. 2019/11/04
-- BeamExec.lua by Egaltech s.r.l. 2020/01/21
-- 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.
-- 2019/09/25 Aggiunta gestione StepJoint e StepJointNotch
-- 2020/01/21 Aggiunta gestione ScarfJoint.
-- Tabella per definizione modulo
local BeamExec = {}
@@ -60,6 +61,8 @@ _G.package.loaded.ProcessMark = nil
local Mark = require( 'ProcessMark')
_G.package.loaded.ProcessText = nil
local Text = require( 'ProcessText')
_G.package.loaded.ProcessScarfJoint = nil
local ScarfJoint = require( 'ProcessScarfJoint')
_G.package.loaded.ProcessSimpleScarf = nil
local Scarf = require( 'ProcessSimpleScarf')
_G.package.loaded.ProcessStepJoint = nil
@@ -527,6 +530,9 @@ local function ClassifyFeatures( vProc, b3Raw, Stats)
elseif Text.Identify( Proc) then
bOk, bDown = Text.Classify( Proc)
-- se giunto Gerber
elseif ScarfJoint.Identify( Proc) then
bOk, bDown = ScarfJoint.Classify( Proc)
-- se giunto Gerber
elseif Scarf.Identify( Proc) then
bOk, bDown = Scarf.Classify( Proc)
-- se giunto a gradino
@@ -674,6 +680,10 @@ local function AddFeatureMachining( Proc, nPhase, nRawId, nPartId, dCurrOvmH, b3
elseif Text.Identify( Proc) then
-- esecuzione testo
bOk, sErr = Text.Make( Proc, nPhase, nRawId, nPartId)
-- se giunto Gerber ( 1/2-071-X)
elseif ScarfJoint.Identify( Proc) then
-- esecuzione giunto Gerber
bOk, sErr = ScarfJoint.Make( Proc, nPhase, nRawId, nPartId, dCurrOvmH)
-- se giunto Gerber ( 1/2-070-X)
elseif Scarf.Identify( Proc) then
-- esecuzione giunto Gerber