From 06433e388c3ba640ab1f09854ceab6cf30970e8e Mon Sep 17 00:00:00 2001 From: Mario Voigt Date: Tue, 30 Nov 2021 01:08:37 +0100 Subject: [PATCH] revert stroke width change --- .../apply_transformations/apply_transformations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/fablabchemnitz/apply_transformations/apply_transformations.py b/extensions/fablabchemnitz/apply_transformations/apply_transformations.py index a9f6cf49..9a2c9244 100644 --- a/extensions/fablabchemnitz/apply_transformations/apply_transformations.py +++ b/extensions/fablabchemnitz/apply_transformations/apply_transformations.py @@ -46,8 +46,8 @@ class ApplyTransformations(inkex.EffectExtension): try: #stroke_width = float(style.get('stroke-width').strip().replace("px", "")) stroke_width = self.svg.uutounit(style.get('stroke-width').strip()) - #stroke_width *= math.sqrt(abs(transf.a * transf.d)) - stroke_width *= math.sqrt(abs(transf.a * transf.d - transf.b * transf.c)) + stroke_width *= math.sqrt(abs(transf.a * transf.d)) + #stroke_width *= math.sqrt(abs(transf.a * transf.d - transf.b * transf.c)) style['stroke-width'] = str(stroke_width) update = True except AttributeError: