3dPrinting :

- in generazione codice CN aggiunto controllo presenza feed e speed (prima crash a 64 bit).
This commit is contained in:
DarioS
2022-06-14 12:01:33 +02:00
parent 2bdc03d1ca
commit 6c6c906b33
+8 -2
View File
@@ -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