mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 07:33:57 -06:00
Enforcing naming convention
This commit is contained in:
parent
2683fa0958
commit
9475c8e0c1
1 changed files with 2 additions and 2 deletions
|
@ -20,9 +20,9 @@ class ConvexHullJob(Job):
|
||||||
return
|
return
|
||||||
|
|
||||||
mesh = self._node.getMeshData()
|
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
|
# First, calculate the normal convex hull around the points
|
||||||
hull = hull.getConvexHull()
|
hull = hull.getConvexHull()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue