don't use quality meshing. we want to get a result, not freeze the device
This commit is contained in:
parent
a07c7506dd
commit
596dc48f33
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue