mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 05:49:03 +08:00
Added force reslice function
This commit is contained in:
parent
3cb3cce31c
commit
4dd2b15ab5
@ -241,6 +241,10 @@ class CuraEngineBackend(Backend):
|
||||
self._socket.registerMessageType(6, Cura_pb2.SettingList)
|
||||
self._socket.registerMessageType(7, Cura_pb2.GCodePrefix)
|
||||
|
||||
## Manually triggers a reslice
|
||||
def forceSlice(self):
|
||||
self._change_timer.start()
|
||||
|
||||
def _onChanged(self):
|
||||
if not self._settings:
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user