From 495dfd8caa2077716999a014d4dcccb084b7b7c7 Mon Sep 17 00:00:00 2001 From: Mario Voigt Date: Wed, 15 Mar 2023 13:12:22 +0100 Subject: [PATCH] fix issue #22 --- extensions/fablabchemnitz/lasercut_polygon/lasercut_polygon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/fablabchemnitz/lasercut_polygon/lasercut_polygon.py b/extensions/fablabchemnitz/lasercut_polygon/lasercut_polygon.py index e6cfbc9..e8065d2 100644 --- a/extensions/fablabchemnitz/lasercut_polygon/lasercut_polygon.py +++ b/extensions/fablabchemnitz/lasercut_polygon/lasercut_polygon.py @@ -40,7 +40,7 @@ def groupdraw(s, XYstrings, colors) : grp = etree.SubElement(parent, 'g', grp_attribs)#the group to put everything in name='part' for i in range(len(XYstrings)): - style = { 'stroke': colors[i], 'fill': 'none' } + style = { 'stroke': colors[i], 'stroke-width': s.svg.unittouu("1px"), 'fill': 'none' } drw = {'style':str(inkex.Style(style)),inkex.addNS('label','inkscape'):name+str(i),'d':XYstrings[i]} etree.SubElement(grp, inkex.addNS('path','svg'), drw ) return