From 652043e1d8599460ecf2612042587c46217ef2eb Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Mon, 3 Jan 2022 17:32:33 +0100 Subject: [PATCH] Cast bounding box to ints The version of Sip we're using now cares about this more than the previous one, apparently. Contributes to issue CURA-8592. --- cura/Arranging/Nest2DArrange.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/Arranging/Nest2DArrange.py b/cura/Arranging/Nest2DArrange.py index dad67ba161..43d4d7f8a8 100644 --- a/cura/Arranging/Nest2DArrange.py +++ b/cura/Arranging/Nest2DArrange.py @@ -40,7 +40,7 @@ def findNodePlacement(nodes_to_arrange: List["SceneNode"], build_volume: "BuildV machine_width = build_volume.getWidth() machine_depth = build_volume.getDepth() - build_plate_bounding_box = Box(machine_width * factor, machine_depth * factor) + build_plate_bounding_box = Box(int(machine_width * factor), int(machine_depth * factor)) if fixed_nodes is None: fixed_nodes = []