From b25567241801d3f9ec7a9b7de9312dff8e684d89 Mon Sep 17 00:00:00 2001 From: Mario Voigt Date: Mon, 14 Nov 2022 12:02:31 +0100 Subject: [PATCH] fix deprecation in paths_to_openscad --- .../fablabchemnitz/paths_to_openscad/paths_to_openscad.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/fablabchemnitz/paths_to_openscad/paths_to_openscad.py b/extensions/fablabchemnitz/paths_to_openscad/paths_to_openscad.py index 94fc69e..4543a4f 100644 --- a/extensions/fablabchemnitz/paths_to_openscad/paths_to_openscad.py +++ b/extensions/fablabchemnitz/paths_to_openscad/paths_to_openscad.py @@ -981,7 +981,7 @@ class PathsToOpenSCAD(inkex.EffectExtension): y = float(node.get("y", "0")) # Note: the transform has already been applied if (x != 0) or (y != 0): - matNew2 = matNew * Transform("translate(%f,%f)" % (x, y)) + matNew2 = matNew @ Transform("translate(%f,%f)" % (x, y)) else: matNew2 = matNew v = node.get("visibility", v) @@ -1230,7 +1230,7 @@ class PathsToOpenSCAD(inkex.EffectExtension): if parent_transform is None: return tr else: - return parent_transform * tr + return parent_transform @ tr else: return self.docTransform