mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 08:58:58 +08:00
Fixed convex hull for triangles. CURA-3314
This commit is contained in:
parent
3ca9ae145e
commit
b568ad701b
@ -197,7 +197,7 @@ class ConvexHullDecorator(SceneNodeDecorator):
|
||||
|
||||
hull = Polygon(vertex_data)
|
||||
|
||||
if len(vertex_data) >= 4:
|
||||
if len(vertex_data) >= 3:
|
||||
convex_hull = hull.getConvexHull()
|
||||
offset_hull = self._offsetHull(convex_hull)
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user