3dPrinting :
- ora stima prima di generazione per poterne usare i risultati - aggiunta Pause alla fine della compilazione.
This commit is contained in:
@@ -149,6 +149,15 @@ function RunGcodeGenerate.Exec()
|
||||
-- aggiorno interfaccia
|
||||
EgtProcessEvents( 680, 0)
|
||||
|
||||
-- Eseguo la stima
|
||||
if EgtEstimate( '') then
|
||||
local KEY_TOTTIME = 'Ttot'
|
||||
-- riporto il tempo totale nel layer di lavoro
|
||||
local nTtot = EgtGetInfo( EgtGetCurrMachGroup(), KEY_TOTTIME, 'i') or 0
|
||||
local nTfsId = EgtGetFirstNameInGroup( GDB_ID.ROOT, LAY_TFSCALC) or GDB_ID.NULL
|
||||
EgtSetInfo( nTfsId, KEY_TOTTIME, nTtot)
|
||||
end
|
||||
|
||||
-- Genero il programma CN
|
||||
local sInfo = 'Icarus ver.' .. EgtGetExeVersion() .. ' - ' .. sPath
|
||||
local sISOFilePath = ''
|
||||
@@ -156,9 +165,6 @@ function RunGcodeGenerate.Exec()
|
||||
sISOFilePath = PRINT.ISOFILEPATH
|
||||
end
|
||||
local bGenOk = EgtGenerate( sISOFilePath, sInfo)
|
||||
if bGenOk then
|
||||
EgtEstimate('')
|
||||
end
|
||||
|
||||
-- aggiorno interfaccia
|
||||
EgtProcessEvents( 690, 0)
|
||||
|
||||
Reference in New Issue
Block a user