DataWall :

- miglioria ai log
- correzione lavorazione FreeContour da svuotare senza faccia di fondo
- correzione pulizia spigoli in LapJoint.
This commit is contained in:
Dario Sassi
2021-03-25 07:26:30 +00:00
parent 631c356e54
commit 8d4e7b8b84
2 changed files with 12 additions and 7 deletions
+5 -2
View File
@@ -1,4 +1,4 @@
-- WallExec.lua by Egaltech s.r.l. 2021/03/23
-- WallExec.lua by Egaltech s.r.l. 2021/03/24
-- Libreria esecuzione lavorazioni per Pareti
-- Tabella per definizione modulo
@@ -175,7 +175,7 @@ local function PrintFeatures( vProc)
EgtOutLog( ' *** Feature List ***')
for i = 1, #vProc do
local Proc = vProc[i]
local sOut = string.format( ' Part=%3d Proc=%3d Grp=%1d Prc=%3d TC=%2d/%d Flg=%2d Fcse=%1d,%1d Diam=%.2f Fct=%2d Box=%s',
local sOut = string.format( 'Part=%3d Proc=%3d Grp=%1d Prc=%3d TC=%2d/%d Flg=%2d Fcse=%1d,%1d Diam=%.2f Fct=%2d Box=%s',
Proc.PartId, Proc.Id, Proc.Grp, Proc.Prc, Proc.TaskId, Proc.CutId,
Proc.Flg, Proc.Fcs, Proc.Fce, Proc.Diam, Proc.Fct, tostring( Proc.Box))
EgtOutLog( sOut)
@@ -186,6 +186,7 @@ end
local function AddFeatureMachining( Proc, nRawId, b3Raw)
local bOk = true
local sErr = ''
EgtOutLog( ' * Process ' .. tostring( Proc.Id) .. ' *', 1)
-- se taglio (1/2-010-X) o taglio longitudinale (0/3/4-010-X)
if Cut.Identify( Proc) then
-- esecuzione taglio
@@ -338,6 +339,7 @@ function WallExec.ProcessFeatures()
if EgtGetDebugLevel() >= 1 then
PrintFeatures( vProc)
end
EgtOutLog( ' *** AddMachinings ***', 1)
-- inserisco le lavorazioni
for i = 1, #vProc do
-- creo la lavorazione
@@ -357,6 +359,7 @@ function WallExec.ProcessFeatures()
table.insert( Stats, {Err=1, Msg=sMsg, Rot=0, CutId=Proc.CutId, TaskId=Proc.TaskId})
end
end
EgtOutLog( ' *** End AddMachinings ***', 1)
-- se macchina pareti
if not WD.BEAM_MACHINE then
-- riordino le lavorazioni tra tutti i pezzi