Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2016-07-20 15:11:16 +0300
committerJaime van Kessel <nallath@gmail.com>2016-07-20 15:11:16 +0300
commit77c5d25e70f42c403d6b271d61f34c172d290e35 (patch)
tree61f8e1c6b1f17ac2d8b7a9be016c86016fbd946f /cura/ConvexHullDecorator.py
parent6ec69d523b2bea433f5fc94d7a21669bc9744d25 (diff)
Cutoff point for convex hull is now a bit below 0 to prevent rounding issues.
CURA-1608
Diffstat (limited to 'cura/ConvexHullDecorator.py')
-rw-r--r--cura/ConvexHullDecorator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cura/ConvexHullDecorator.py b/cura/ConvexHullDecorator.py
index f8d1a1e12e..3ccb9481f9 100644
--- a/cura/ConvexHullDecorator.py
+++ b/cura/ConvexHullDecorator.py
@@ -157,7 +157,7 @@ class ConvexHullDecorator(SceneNodeDecorator):
vertex_data = mesh.getConvexHullTransformedVertices(world_transform)
# Don't use data below 0.
# TODO; We need a better check for this as this gives poor results for meshes with long edges.
- vertex_data = vertex_data[vertex_data[:,1] >= 0]
+ vertex_data = vertex_data[vertex_data[:,1] >= -0.01]
if len(vertex_data) >= 4:
# Round the vertex data to 1/10th of a mm, then remove all duplicate vertices