Docs for additions to slicing event payload

This commit is contained in:
Gina Häußge committed 2016-06-28 12:58:31 +02:00
1 parent b41c1d89f4
commit df5a6e42d7
2 files changed
+13 -1

No files matched your search

+5 -1
View File
@@ -295,7 +295,11 @@ class FileManager(object):
import time
start_time = time.time()
eventManager().fire(Events.SLICING_STARTED, {"stl": source_path, "gcode": dest_path, "progressAvailable": slicer.get_slicer_properties()["progress_report"] if slicer else False})
eventManager().fire(Events.SLICING_STARTED, {"stl": source_path,
"stl_location": source_location,
"gcode": dest_path,
"gcode_location": dest_location,
"progressAvailable": slicer.get_slicer_properties()["progress_report"] if slicer else False})
import tempfile
f = tempfile.NamedTemporaryFile(suffix=".gco", delete=False)