From 0e7d1e2178878c72a17acf1380e7c43ede1769a4 Mon Sep 17 00:00:00 2001 From: Mario Voigt Date: Thu, 15 Apr 2021 17:04:18 +0200 Subject: [PATCH] . --- extensions/fablabchemnitz/contourscanner/contour_scanner.py | 2 +- extensions/fablabchemnitz/vpypetools/vpypetools.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/fablabchemnitz/contourscanner/contour_scanner.py b/extensions/fablabchemnitz/contourscanner/contour_scanner.py index 23aa7247..b1ad9bea 100644 --- a/extensions/fablabchemnitz/contourscanner/contour_scanner.py +++ b/extensions/fablabchemnitz/contourscanner/contour_scanner.py @@ -13,7 +13,7 @@ Features Author: Mario Voigt / FabLab Chemnitz Mail: mario.voigt@stadtfabrikanten.org Date: 09.08.2020 -Last patch: 05.09.2020 +Last patch: 14.04.2021 License: GNU GPL v3 """ diff --git a/extensions/fablabchemnitz/vpypetools/vpypetools.py b/extensions/fablabchemnitz/vpypetools/vpypetools.py index 7219e4d8..6eb738f3 100644 --- a/extensions/fablabchemnitz/vpypetools/vpypetools.py +++ b/extensions/fablabchemnitz/vpypetools/vpypetools.py @@ -129,7 +129,7 @@ class vpypetools (inkex.EffectExtension): self.arg_parser.add_argument("--lines_stroke_width", type=float, default=1.0, help="Stroke width of tooling lines (px). Gets overwritten if 'Use style of first selected element' is enabled") self.arg_parser.add_argument("--trajectories_stroke_width", type=float, default=1.0, help="Stroke width of trajectory lines (px). Gets overwritten if 'Use style of first selected element' is enabled") - def effect(self): + def effect(self): lc = vpype.LineCollection() # create a new array of LineStrings consisting of Points. We convert selected paths to polylines and grab their points nodesToWork = [] # we make an array of all collected nodes to get the boundingbox of that array. We need it to place the vpype converted stuff to the correct XY coordinates