From eaa59837dd9d50e8aa5e3193c636a2ce4fdde2a4 Mon Sep 17 00:00:00 2001 From: Mario Voigt Date: Thu, 30 Jul 2020 02:35:26 +0200 Subject: [PATCH] fix in ratchet --- extensions/fablabchemnitz_ratchet.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/extensions/fablabchemnitz_ratchet.py b/extensions/fablabchemnitz_ratchet.py index 17886669..a25b2f35 100644 --- a/extensions/fablabchemnitz_ratchet.py +++ b/extensions/fablabchemnitz_ratchet.py @@ -37,10 +37,6 @@ import inkex import math from lxml import etree -Line_style = { 'stroke' : '#000000', - 'stroke-width' : self.svg.unittouu(str(0.1) + "mm"), - 'fill' : 'none' } - def draw_SVG_circle(parent, r, cx, cy, name, style): " structure an SVG circle entity under parent " circ_attribs = {'style': str(inkex.Style(style)), @@ -62,6 +58,7 @@ class Ratchet(inkex.Effect): self.arg_parser.add_argument('--htooth_shape', default='curve', help="Shape of tooth") def effect(self): + Line_style = {'stroke':'#000000','stroke-width':self.svg.unittouu(str(0.1) + "mm"),'fill':'none'} # sort out the options teeth = self.options.teeth diam_in = self.options.diam_in