removed old syntax

This commit is contained in:
leyghisbb 2020-08-30 11:25:52 +02:00
parent c6aa4d8eb0
commit 22f961c8ce
2 changed files with 3 additions and 3 deletions

View File

@ -72,7 +72,7 @@ def getLine(XYstring):
line = inkex.PathElement()
line.style = { 'stroke': '#000000', 'stroke-width' : str(linethickness), 'fill': 'none' }
line.path = XYstring
#inkex.etree.SubElement(parent, inkex.addNS('path','svg'), drw)
#etree.SubElement(parent, inkex.addNS('path','svg'), drw)
return line
# jslee - shamelessly adapted from sample code on below Inkscape wiki page 2015-07-28
@ -636,4 +636,4 @@ class BoxMaker(inkex.Effect):
side(group,(x+dx,y+dy),(-b,-c),(d,-c),keydivwalls*ctabs*(thickness if c else -thickness),dx,(-1,0),c,1,0,0) # side c
side(group,(x,y+dy),(d,-c),(d,a),keydivfloor*dtabs*(-thickness if d else thickness),dy,(0,-1),d,1,0,0) # side d
BoxMaker().run()
BoxMaker().run()

View File

@ -120,4 +120,4 @@ if __name__ == '__main__':
FMT = PPRINTER.pformat
DUMP = lambda obj: inkex.debug(FMT(obj))
DeleteAboveEffect().run()
DeleteAboveEffect().run()