mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 21:13:58 -06:00
Added switch for using timer and no timer in CuraEngineBackend. Still have to fix TODO and finish. CURA-3214
This commit is contained in:
parent
e5cdc318f7
commit
4e65a7034f
11 changed files with 250 additions and 894 deletions
|
@ -230,8 +230,6 @@ class CuraApplication(QtApplication):
|
|||
Preferences.getInstance().addPreference("cura/currency", "€")
|
||||
Preferences.getInstance().addPreference("cura/material_settings", "{}")
|
||||
|
||||
Preferences.getInstance().addPreference("general/auto_slice", True)
|
||||
|
||||
for key in [
|
||||
"dialog_load_path", # dialog_save_path is in LocalFileOutputDevicePlugin
|
||||
"dialog_profile_path",
|
||||
|
@ -1207,3 +1205,17 @@ class CuraApplication(QtApplication):
|
|||
|
||||
def addNonSliceableExtension(self, extension):
|
||||
self._non_sliceable_extensions.append(extension)
|
||||
|
||||
# Temporary test, lack of correct location
|
||||
@pyqtSlot()
|
||||
def slice(self):
|
||||
Logger.log("d", "Slice...")
|
||||
backend = self.getBackend()
|
||||
# backend.enableSlicing()
|
||||
backend.forceSlice()
|
||||
|
||||
@pyqtSlot()
|
||||
def sliceStop(self):
|
||||
Logger.log("d", "Slice stop...")
|
||||
backend = self.getBackend()
|
||||
backend.stopSlicing()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue