mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 11:33:14 +08:00
Cutoff point for convex hull is now a bit below 0 to prevent rounding issues.
CURA-1608
This commit is contained in:
parent
6ec69d523b
commit
77c5d25e70
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user