From d3d4f59fe8eb983a9e1654702d3b34f4fe732398 Mon Sep 17 00:00:00 2001 From: Mario Voigt Date: Sat, 16 Oct 2021 10:50:11 +0200 Subject: [PATCH] fix unit in netting --- extensions/fablabchemnitz/netting/netting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/fablabchemnitz/netting/netting.py b/extensions/fablabchemnitz/netting/netting.py index 79ada48c..b1c3d0b5 100644 --- a/extensions/fablabchemnitz/netting/netting.py +++ b/extensions/fablabchemnitz/netting/netting.py @@ -38,7 +38,7 @@ class Netting(inkex.EffectExtension): def effect(self): #static - style = {'stroke-width': str(self.options.stroke_width) +'px', 'stroke': '#000000', 'fill': 'none'} + style = {'stroke-width': "{:0.6f}".format(self.svg.unittouu(str(self.options.stroke_width) + "px")), 'stroke': '#000000', 'fill': 'none'} old_segments = [] new_segments = []