diff --git a/CHANGELOG.md b/CHANGELOG.md index ca453328..1792985f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ CHANGELOG for FlatCAM beta - fixed Film Plugin (Tool) negative generation to have the black background in sync with the actual geometry when transformations are applied - fixed Film Plugin (Tool) to have mirroring done only with reference 'center' regardless of what is selected in the UI - in Film Plugin now multiple adjustments can be applied at the same time and correctly +- updated the files to use the new name for the voronoi package: foronoi +- using Python 3.9.4 17.06.2021 diff --git a/appPlugins/ToolLevelling.py b/appPlugins/ToolLevelling.py index b2052dd9..c6ad9fbc 100644 --- a/appPlugins/ToolLevelling.py +++ b/appPlugins/ToolLevelling.py @@ -37,8 +37,8 @@ import shapely.affinity as affinity from matplotlib.backend_bases import KeyEvent as mpl_key_event try: - from voronoi import Voronoi - from voronoi import Polygon as voronoi_poly + from foronoi import Voronoi + from foronoi import Polygon as voronoi_poly VORONOI_ENABLED = True except Exception: try: diff --git a/requirements.txt b/requirements.txt index 95416ec7..f27b5acb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -30,4 +30,5 @@ pikepdf>=2.0 pywin32>2.0 pyqt5>=5.12.1 vispy -rasterio \ No newline at end of file +rasterio +foronoi>=1.0.3 \ No newline at end of file diff --git a/setup_ubuntu.sh b/setup_ubuntu.sh index a05bb87e..dc91ade2 100644 --- a/setup_ubuntu.sh +++ b/setup_ubuntu.sh @@ -47,6 +47,7 @@ sudo -H python3 -m pip install --upgrade \ svglib \ pyserial \ testresources \ - pikepdf + pikepdf \ + foronoi sudo -H easy_install -U distribute