mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
If prime tower or prime position has an invalid position, we now give a specifc error message to indicate this
CURA-2481
This commit is contained in:
parent
c007c1fc4c
commit
782a02661c
2 changed files with 13 additions and 1 deletions
|
@ -25,6 +25,7 @@ class StartJobResult(IntEnum):
|
|||
SettingError = 3
|
||||
NothingToSlice = 4
|
||||
MaterialIncompatible = 5
|
||||
BuildPlateError = 6
|
||||
|
||||
|
||||
## Formatter class that handles token expansion in start/end gcod
|
||||
|
@ -80,7 +81,7 @@ class StartSliceJob(Job):
|
|||
return
|
||||
|
||||
if Application.getInstance().getBuildVolume().hasErrors():
|
||||
self.setResult(StartJobResult.SettingError)
|
||||
self.setResult(StartJobResult.BuildPlateError)
|
||||
return
|
||||
|
||||
for extruder_stack in cura.Settings.ExtruderManager.getInstance().getMachineExtruders(stack.getId()):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue