Page MenuHome

API mathutils.geometry.tessellate_polygon returns bad results sometimes
Open, Confirmed, MediumPublic

Description

System Information
Operating system: Mint 19
Graphics card: Nvidia 860M

Blender Version
Broken: 2.80

Short description of error
API mathutils.geometry.tessellate_polygon returns bad results sometimes

Exact steps for others to reproduce the error
Open attached file, and run the script.
See on console that sometimes, tessellate returns (0, 0, 0) indices for triangles

Details

Type
Bug

Event Timeline

Jacques Lucke (JacquesLucke) triaged this task as Confirmed, Medium priority.

Can confirm that. Looks like it is caused by degenerate geometry. There are four faces with zero area.