檔案圖示
 
 

958

Delaunay Triangulation

This extension is similar to the Voronoi Diagram extension in Delaunay Triangulation mode in that it generates triangulations. The difference is that the Delaunay Triangulation extension triangulates all points in all selected objects while the Voronoi Diagram extension considers only object centroids.

Inkscape Extensions

大小
4.1 KB
建立時間
修訂
3
類型
application/zip
General Public License v3 (GPLv3)
ju mo 寫於

Hey. Thanks for this inspirational work. I Tried to use it, but unfortunately I end up with following error:
"ModuleNotFoundError: No module named 'scipy'"

I am running it on windows.
Should I hack the inkscape python interpreter or do I miss something here ?

Rg
Jumo

Scott Pakin 寫於

The error message is valid: Delaunay Triangulation does indeed require SciPy. (scipy.spatial.Delaunay does all the hard work for the extension.) You'll need to install SciPy where it can be found by whatever Python interpreter Inkscape invokes.

Zerneas 寫於

Hi! I just tested it after installing Scipy and it works. It's awesome!

Thank you very much! :-)
Congrats Scott!!

Zerneas

gorlilla 寫於

The following dependencies were required alongside python 3.10 to make this extension work; all were installed via pip (i have my extensions using a standalone version of python rather than the inkscape-bundled engine):

[0] scipy
[1] lxml
[2] cssselect

Thanks for the great extension!

登入以留下評註!