don't use quality meshing. we want to get a result, not freeze the device

This commit is contained in:
Laura Klünder 2017-11-08 12:30:11 +01:00
parent a07c7506dd
commit 596dc48f33

View file

@ -36,7 +36,7 @@ def _triangulate_polygon(polygon: Polygon, keep_holes=False):
if holes.size:
info.set_holes(holes.reshape((holes.shape[0], -1)))
mesh = triangle.build(info)
mesh = triangle.build(info, quality_meshing=False)
return np.array(mesh.points), np.array(mesh.elements)