removed old syntax
This commit is contained in:
parent
c6aa4d8eb0
commit
22f961c8ce
@ -72,7 +72,7 @@ def getLine(XYstring):
|
|||||||
line = inkex.PathElement()
|
line = inkex.PathElement()
|
||||||
line.style = { 'stroke': '#000000', 'stroke-width' : str(linethickness), 'fill': 'none' }
|
line.style = { 'stroke': '#000000', 'stroke-width' : str(linethickness), 'fill': 'none' }
|
||||||
line.path = XYstring
|
line.path = XYstring
|
||||||
#inkex.etree.SubElement(parent, inkex.addNS('path','svg'), drw)
|
#etree.SubElement(parent, inkex.addNS('path','svg'), drw)
|
||||||
return line
|
return line
|
||||||
|
|
||||||
# jslee - shamelessly adapted from sample code on below Inkscape wiki page 2015-07-28
|
# 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+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
|
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()
|
||||||
|
@ -120,4 +120,4 @@ if __name__ == '__main__':
|
|||||||
FMT = PPRINTER.pformat
|
FMT = PPRINTER.pformat
|
||||||
DUMP = lambda obj: inkex.debug(FMT(obj))
|
DUMP = lambda obj: inkex.debug(FMT(obj))
|
||||||
|
|
||||||
DeleteAboveEffect().run()
|
DeleteAboveEffect().run()
|
Reference in New Issue
Block a user