From 898ef5e7a2151c7ab6c51362fe3fbe366ae2ec78 Mon Sep 17 00:00:00 2001 From: leyghisbb Date: Sun, 30 Aug 2020 11:38:01 +0200 Subject: [PATCH] remove buf from another perspective --- extensions/fablabchemnitz_anotherperspective.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/fablabchemnitz_anotherperspective.py b/extensions/fablabchemnitz_anotherperspective.py index 792ad2fa..55826039 100644 --- a/extensions/fablabchemnitz_anotherperspective.py +++ b/extensions/fablabchemnitz_anotherperspective.py @@ -288,11 +288,11 @@ class AnotherPerspective(inkex.Effect): absolute_object_path="" for p in obj.iterfind(".//{http://www.w3.org/2000/svg}path"): - absolute_d = str(sPath(p.get('d'))) + absolute_d = str(Path(p.get('d'))) mat = p.transform * Transform([[1.0, 0.0, 0.0], [0.0, 1.0, 0.0]]) path = CubicSuperPath(absolute_d) Path(path).transform(mat) - absolute_object_path += Path(path) + absolute_object_path += str(Path(path)) # inkex.debug(absolute_object_path) new_path = projection(absolute_object_path,coords_to_project) @@ -309,4 +309,4 @@ class AnotherPerspective(inkex.Effect): inkex.errormsg("The first selected object is not a path.\nTry using the procedure Path->Object to Path.") exit() -AnotherPerspective().run() \ No newline at end of file +AnotherPerspective().run()