From 9475c8e0c18e1295ad200ab73246aba76ee6b7f5 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Tue, 14 Jul 2015 13:19:46 +0200 Subject: [PATCH] Enforcing naming convention --- cura/ConvexHullJob.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cura/ConvexHullJob.py b/cura/ConvexHullJob.py index f796c6158e..6ee1b1abe6 100644 --- a/cura/ConvexHullJob.py +++ b/cura/ConvexHullJob.py @@ -20,9 +20,9 @@ class ConvexHullJob(Job): return mesh = self._node.getMeshData() - vertexData = mesh.getTransformed(self._node.getWorldTransformation()).getVertices() + vertex_data = mesh.getTransformed(self._node.getWorldTransformation()).getVertices() - hull = Polygon(numpy.rint(vertexData[:, [0, 2]]).astype(int)) + hull = Polygon(numpy.rint(vertex_data[:, [0, 2]]).astype(int)) # First, calculate the normal convex hull around the points hull = hull.getConvexHull()