summaryrefslogtreecommitdiff
path: root/gerbonara/tests
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-09-22 18:50:31 +0200
committerjaseg <git@jaseg.de>2023-09-22 18:54:11 +0200
commit95da4820337911f20dcc54c42820805fbc35ee13 (patch)
tree51d97cd4af4a2a461270aee5fb6608680415be8a /gerbonara/tests
parentd2143bdf4df2204701a1dc116572fdf7d12baf05 (diff)
downloadgerbonara-95da4820337911f20dcc54c42820805fbc35ee13.tar.gz
gerbonara-95da4820337911f20dcc54c42820805fbc35ee13.tar.bz2
gerbonara-95da4820337911f20dcc54c42820805fbc35ee13.zip
WIP
Diffstat (limited to 'gerbonara/tests')
-rw-r--r--gerbonara/tests/test_kicad_footprints.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/tests/test_kicad_footprints.py b/gerbonara/tests/test_kicad_footprints.py
index 07d64a7..663037b 100644
--- a/gerbonara/tests/test_kicad_footprints.py
+++ b/gerbonara/tests/test_kicad_footprints.py
@@ -142,7 +142,7 @@ def _parse_path_d(path):
cx = mx - nx*nl
cy = my - ny*nl
- (min_x, min_y), (max_x, max_y) = arc_bounds(last_x, last_y, ax, ay, cx-last_x, cy-last_y, clockwise=(not sweep))
+ (min_x, min_y), (max_x, max_y) = arc_bounds(last_x, last_y, ax, ay, cx, cy, clockwise=(not sweep))
min_x -= sr
min_y -= sr
max_x += sr