3dPrinting :

- modifiche progress bar.
This commit is contained in:
SaraP
2022-10-03 16:08:25 +02:00
parent 5e65055e86
commit a94474869c
6 changed files with 24 additions and 20 deletions
+8 -8
View File
@@ -24,7 +24,7 @@ end
function RunGcodeGenerate.Exec()
-- aggiorno interfaccia
EgtProcessEvents( 501, 0)
EgtProcessEvents( 601, 0)
-- Recupero il pezzo (per ora primo e unico)
local nPartIndex = 1
@@ -45,7 +45,7 @@ function RunGcodeGenerate.Exec()
local LayerParams = GetLayerParamsForGcodeGenerate( nPartId)
-- aggiorno interfaccia
EgtProcessEvents( 505, 0)
EgtProcessEvents( 605, 0)
-- Ciclo sui layer
local vEntId = {}
@@ -75,7 +75,7 @@ function RunGcodeGenerate.Exec()
end
-- aggiorno interfaccia
EgtProcessEvents( 510, 0)
EgtProcessEvents( 610, 0)
-- Imposto gruppo di lavoro
EgtSetCurrMachGroup()
@@ -97,7 +97,7 @@ function RunGcodeGenerate.Exec()
end
-- aggiorno interfaccia
EgtProcessEvents( 520, 0)
EgtProcessEvents( 620, 0)
EgtSetMachiningGeometry( vEntId)
@@ -116,7 +116,7 @@ function RunGcodeGenerate.Exec()
end
-- aggiorno interfaccia
EgtProcessEvents( 550, 0)
EgtProcessEvents( 650, 0)
-- Salvo il progetto
local sFilePath = EgtGetCurrFilePath()
@@ -125,7 +125,7 @@ function RunGcodeGenerate.Exec()
EgtSaveFile()
-- aggiorno interfaccia
EgtProcessEvents( 580, 0)
EgtProcessEvents( 680, 0)
-- Genero il programma CN
local sInfo = 'EgtCAM5 ver.' .. EgtGetExeVersion() .. ' - ' .. sPath
@@ -135,7 +135,7 @@ function RunGcodeGenerate.Exec()
end
-- aggiorno interfaccia
EgtProcessEvents( 590, 0)
EgtProcessEvents( 690, 0)
EgtResetCurrMachGroup()
@@ -154,7 +154,7 @@ function RunGcodeGenerate.Exec()
end
-- aggiorno interfaccia
EgtProcessEvents( 600, 0)
EgtProcessEvents( 700, 0)
end