3dPrinting :

- gestita interruzione degli script.
This commit is contained in:
SaraP
2023-02-16 10:27:46 +01:00
parent 31f27d66c1
commit 3a1dcbb822
6 changed files with 76 additions and 252 deletions
+4 -2
View File
@@ -2136,7 +2136,7 @@ function CalcPaths.Exec( nPartId)
local vLayIds = EgtGetNameInGroup( s_nPartId, SLICE_LAYER.."*")
if not vLayIds then
EgtOutBox( 'Error no slice', 'PathCalc')
return
return true
end
-- recupero i parametri per calcolo dei path
@@ -2274,9 +2274,11 @@ function CalcPaths.Exec( nPartId)
if EgtProcessEvents( EgtIf( PRINT, 200, 0) + nIdx / #vLayIds * 100, 0) == 1 then
EgtDraw()
return
return false
end
end
return true
end
---------------------------------------------------------------------