mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 18:49:02 +08:00
Don't print the model if it is outside of the buildplate
CURA-4734
This commit is contained in:
parent
05acb2e00f
commit
d0a3575c0c
@ -143,10 +143,11 @@ class StartSliceJob(Job):
|
|||||||
if per_object_stack:
|
if per_object_stack:
|
||||||
is_non_printing_mesh = any(per_object_stack.getProperty(key, "value") for key in NON_PRINTING_MESH_SETTINGS)
|
is_non_printing_mesh = any(per_object_stack.getProperty(key, "value") for key in NON_PRINTING_MESH_SETTINGS)
|
||||||
|
|
||||||
if not getattr(node, "_outside_buildarea", False) or not is_non_printing_mesh:
|
if not getattr(node, "_outside_buildarea", False):
|
||||||
temp_list.append(node)
|
temp_list.append(node)
|
||||||
if not is_non_printing_mesh:
|
if not is_non_printing_mesh:
|
||||||
has_printing_mesh = True
|
has_printing_mesh = True
|
||||||
|
|
||||||
Job.yieldThread()
|
Job.yieldThread()
|
||||||
|
|
||||||
#If the list doesn't have any model with suitable settings then clean the list
|
#If the list doesn't have any model with suitable settings then clean the list
|
||||||
|
Loading…
x
Reference in New Issue
Block a user