3dPrinting :
- in generazione codice CN aggiunto controllo presenza feed e speed (prima crash a 64 bit).
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
-- RunGcodeGenerate.lua by Egaltech s.r.l. 2022/05/19
|
||||
-- RunGcodeGenerate.lua by Egaltech s.r.l. 2022/06/14
|
||||
-- Calcoli prima fase per Stampa 3d
|
||||
|
||||
-- Tabella per definizione modulo
|
||||
@@ -93,7 +93,13 @@ function RunGcodeGenerate.Exec()
|
||||
EgtSetMachiningParam( MCH_MP.USERNOTES, sNotes)
|
||||
|
||||
if not EgtApplyMachining() then
|
||||
EgtOutBox( 'Error applying Extrusion', 'GcodeGenerate')
|
||||
local nErr, sErr = EgtGetLastMachMgrError()
|
||||
local sMsg = 'Error applying Extrusion'
|
||||
if nErr == 2803 and string.find( sErr, '(3)', 1, true) then
|
||||
sMsg = sMsg .. ' (missing Feed & Speed)'
|
||||
end
|
||||
EgtResetCurrMachGroup()
|
||||
EgtOutBox( sMsg, 'GcodeGenerate')
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user