diff options
author | jaseg <git@jaseg.de> | 2022-01-30 18:48:32 +0100 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2022-01-30 18:48:32 +0100 |
commit | a6017937e65032d093e4f2c7bbbfe6f9f65a5a89 (patch) | |
tree | 658e5ece0a34cc1acbfb0d045ba5287ccdd33e27 /gerbonara/gerber/graphic_primitives.py | |
parent | fd9e0d00792256aed5c30d13abf894df31a357c4 (diff) | |
download | gerbonara-a6017937e65032d093e4f2c7bbbfe6f9f65a5a89.tar.gz gerbonara-a6017937e65032d093e4f2c7bbbfe6f9f65a5a89.tar.bz2 gerbonara-a6017937e65032d093e4f2c7bbbfe6f9f65a5a89.zip |
Fix ALL the tests.
Diffstat (limited to 'gerbonara/gerber/graphic_primitives.py')
-rw-r--r-- | gerbonara/gerber/graphic_primitives.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/gerber/graphic_primitives.py b/gerbonara/gerber/graphic_primitives.py index cd5e70c..65aa28c 100644 --- a/gerbonara/gerber/graphic_primitives.py +++ b/gerbonara/gerber/graphic_primitives.py @@ -282,7 +282,7 @@ class Polyline: (x0, y0), *rest = self.coords d = f'M {x0:.6} {y0:.6} ' + ' '.join(f'L {x:.6} {y:.6}' for x, y in rest) width = f'{self.width:.6}' if not math.isclose(self.width, 0) else '0.01mm' - return tag('path', d=d, style=f'fill: none; stroke: {color}; stroke-width: {width}; stroke-linecap: round') + return tag('path', d=d, style=f'fill: none; stroke: {color}; stroke-width: {width}; stroke-linejoin: round; stroke-linecap: round') @dataclass class Line(GraphicPrimitive): |