diff --git a/README.md b/README.md index 990ac4b1..b1b7bfe5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@
-![Fabex CNC CAM extension for Blender](scripts/addons/docs/_static/logo.png) +![Fabex CNC CAM extension for Blender](scripts/addons/docs/_static/fabex_logo_rectangle.png) - - - diff --git a/scripts/addons/cam/operators/curve_tools_ops.py b/scripts/addons/cam/operators/curve_tools_ops.py index 8e4a0085..398e4f0d 100644 --- a/scripts/addons/cam/operators/curve_tools_ops.py +++ b/scripts/addons/cam/operators/curve_tools_ops.py @@ -6,7 +6,10 @@ Operators that perform various functions on existing curves. from math import pi, tan import shapely -from shapely.geometry import LineString +from shapely.geometry import ( + LineString, + MultiLineString, +) import bpy from bpy.props import ( @@ -265,8 +268,6 @@ class CamCurveSimpleOvercuts(Operator): for s in shapes.geoms: s = shapely.geometry.polygon.orient(s, 1) if s.boundary.geom_type == "LineString": - from shapely.geometry import MultiLineString - loops = MultiLineString([s.boundary]) else: loops = s.boundary diff --git a/scripts/addons/docs/_static/Fabex_logo_square.png b/scripts/addons/docs/_static/Fabex_logo_square.png new file mode 100644 index 00000000..11e8feb4 Binary files /dev/null and b/scripts/addons/docs/_static/Fabex_logo_square.png differ diff --git a/scripts/addons/docs/_static/fabex_logo_rectangle.png b/scripts/addons/docs/_static/fabex_logo_rectangle.png new file mode 100644 index 00000000..a3ae9704 Binary files /dev/null and b/scripts/addons/docs/_static/fabex_logo_rectangle.png differ diff --git a/scripts/addons/docs/conf.py b/scripts/addons/docs/conf.py index 20368429..4cfa32d2 100644 --- a/scripts/addons/docs/conf.py +++ b/scripts/addons/docs/conf.py @@ -56,7 +56,7 @@ add_module_names = False html_theme = "sphinx_book_theme" html_static_path = ["_static"] -html_logo = "_static/logo_blendercam.png" +html_logo = "_static/Fabex_logo_square.png" html_theme_options = { "icon_links": [ {