From ab22611ecfb4f74146afc49f78ee1065373447c9 Mon Sep 17 00:00:00 2001 From: Erwan MATHIEU Date: Mon, 11 Sep 2023 15:44:07 +0200 Subject: [PATCH] Remove convex hull computation when not required ConvexHullDecorator is setup at node creation, so I can't see a way that this part of code is called. Moreover, it would add a decorator for a layer plan node, which actually leads to a crash. CURA-10004 --- cura/PlatformPhysics.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cura/PlatformPhysics.py b/cura/PlatformPhysics.py index 402b9fe250..9a86223db9 100755 --- a/cura/PlatformPhysics.py +++ b/cura/PlatformPhysics.py @@ -84,10 +84,6 @@ class PlatformPhysics: z_offset = node.callDecoration("getZOffset") if node.getDecorator(ZOffsetDecorator.ZOffsetDecorator) else 0 move_vector = move_vector.set(y = -bbox.bottom + z_offset) - # If there is no convex hull for the node, start calculating it and continue. - if not node.getDecorator(ConvexHullDecorator) and not node.callDecoration("isNonPrintingMesh"): - node.addDecorator(ConvexHullDecorator()) - # only push away objects if this node is a printing mesh if not node.callDecoration("isNonPrintingMesh") and app_automatic_push_free: # Do not move locked nodes