diff options
author | jaseg <git@jaseg.de> | 2023-09-22 18:50:31 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2023-09-22 18:54:11 +0200 |
commit | 95da4820337911f20dcc54c42820805fbc35ee13 (patch) | |
tree | 51d97cd4af4a2a461270aee5fb6608680415be8a /gerbonara/cad/kicad | |
parent | d2143bdf4df2204701a1dc116572fdf7d12baf05 (diff) | |
download | gerbonara-95da4820337911f20dcc54c42820805fbc35ee13.tar.gz gerbonara-95da4820337911f20dcc54c42820805fbc35ee13.tar.bz2 gerbonara-95da4820337911f20dcc54c42820805fbc35ee13.zip |
WIP
Diffstat (limited to 'gerbonara/cad/kicad')
-rw-r--r-- | gerbonara/cad/kicad/symbols.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/cad/kicad/symbols.py b/gerbonara/cad/kicad/symbols.py index 45f8ec0..972dd55 100644 --- a/gerbonara/cad/kicad/symbols.py +++ b/gerbonara/cad/kicad/symbols.py @@ -285,7 +285,7 @@ class Arc: x2, y2 = self.mid.x-x1, self.mid.y-x2 x3, y3 = (self.end.x - x1)/2, (self.end.y - y1)/2 clockwise = math.atan2(x2*y3-x3*y2, x2*x3+y2*y3) > 0 - return arc_bounds(x1, y1, self.end.x, self.end.y, cx-x1, cy-y1, clockwise) + return arc_bounds(x1, y1, self.end.x, self.end.y, cx, cy, clockwise) def to_svg(self, colorscheme=Colorscheme.KiCad): |