Voroni diagram generation crashing on Ubuntu
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
New
|
Undecided
|
Unassigned |
Bug Description
I have a diagram with 814 points created of type circle. When selecting all points and create a Voronoi diagram of type 'Delauney Triangulation' with the bounding box set to 'Automatic from selected objects' I see an error and no Voronoi diagram is created: The error message is below:
Traceback (most recent call last):
File "voronoi2svg.py", line 365, in <module>
e.affect()
File "/usr/share/
self.effect()
File "voronoi2svg.py", line 346, in effect
triangles = voronoi.
File "/usr/share/
voronoi(
File "/usr/share/
edge = Edge.bisect(
File "/usr/share/
newedge.a = dx/dy
ZeroDivisionError: float division by zero
It seems to work ok 60% of the time if I select a smaller subset of the nodes otherwise I see the same error.
I have attached a file with which you can reproduce the issue.
tags: |
added: extensions-plugins removed: voronoi |
- reproduced on Windows 7, Inkscape 0.91 r13725 (Jan 30 2015)
- not reproduced on Windows XP, Inkscape 0.92pre1 r15001 (Jun 27 2016)