Fixed line style in robot box

This commit is contained in:
leyghisbb 2020-12-12 23:04:58 +01:00
parent e8a8394b41
commit df2bd6ea7d
1 changed files with 5 additions and 4 deletions

View File

@ -311,7 +311,7 @@ class RobotBox(inkex.Effect):
g = etree.SubElement(self.svg.get_current_layer(), 'g', g_attribs)
# Create SVG Path for box bounds
style = { 'stroke': '#000000', 'fill': 'none', 'stroke-width':'1' }
style = { 'stroke': '#000000', 'fill': 'none', 'stroke-width':'0.1' }
etree.SubElement(g, inkex.addNS('path','svg'), {'style':str(inkex.Style(style)), 'd':dirtyFormat(bound_points)} )
# Create SVG paths for crmap slots if set
@ -324,10 +324,11 @@ class RobotBox(inkex.Effect):
# Create SVG Paths for bend lines
# draw bend lines with blue
style = { 'stroke': '#44aaff', 'fill': 'none', 'stroke-width':'1',
'stroke-dasharray': str(dashwidth) + ',' + str(dashstep),
style = { 'stroke': '#44aaff', 'fill': 'none', 'stroke-width':'0.1',
#'stroke-dasharray': str(dashwidth) + ',' + str(dashstep),
# positive dash offset moves dash backward
'stroke-dashoffset': str(dashwidth) }
#'stroke-dashoffset': str(dashwidth)
}
# left
etree.SubElement(g, inkex.addNS('path','svg'), {'style':str(inkex.Style(style)), 'd':dirtyFormat(bend_line_vl1)} )