From ba9ac619c3935a61b23de6522fa1eb0a0371201e Mon Sep 17 00:00:00 2001 From: Mario Voigt Date: Sun, 23 Aug 2020 03:05:25 +0200 Subject: [PATCH] Fixed sheet metal conus --- extensions/fablabchemnitz_sheet_conus.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/fablabchemnitz_sheet_conus.py b/extensions/fablabchemnitz_sheet_conus.py index e4068c59..eac76dab 100644 --- a/extensions/fablabchemnitz_sheet_conus.py +++ b/extensions/fablabchemnitz_sheet_conus.py @@ -412,14 +412,14 @@ class SheetMetalConus(inkex.Effect): 'y': str(cone_height*unitFactor/2) } text = etree.SubElement(parent, 'text', text_atts) text.text = "%4.3f" %(cone_height) - line.transform = Transform(frustrum_repos) * line.transform + text.transform = Transform(frustrum_repos) * text.transform if cut_dia >= 0.001: text_atts = {'style':str(inkex.Style(text_style)), 'x': '0', 'y': str(font_height) } text = etree.SubElement(parent, 'text', text_atts) text.text = "%4.3f" %(cut_dia) - line.transform = Transform(frustrum_repos) * line.transform + text.transform = Transform(frustrum_repos) * text.transform text_atts = {'style':str(inkex.Style(text_style)), 'x': '0', 'y': str(cone_height*unitFactor+font_height) }