From 9c3e50c494de2bbe7c97562774fa16e339c46bd5 Mon Sep 17 00:00:00 2001 From: fieldOfView Date: Thu, 9 Nov 2017 19:21:05 +0100 Subject: [PATCH] Ignore models without a convex hull when auto arranging --- cura/Arrange.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cura/Arrange.py b/cura/Arrange.py index 0d1f2e0c06..335e42a267 100755 --- a/cura/Arrange.py +++ b/cura/Arrange.py @@ -52,6 +52,8 @@ class Arrange: # Place all objects fixed nodes for fixed_node in fixed_nodes: vertices = fixed_node.callDecoration("getConvexHull") + if not vertices: + continue points = copy.deepcopy(vertices._points) shape_arr = ShapeArray.fromPolygon(points, scale = scale) arranger.place(0, 0, shape_arr)