From 95da4820337911f20dcc54c42820805fbc35ee13 Mon Sep 17 00:00:00 2001 From: jaseg Date: Fri, 22 Sep 2023 18:50:31 +0200 Subject: WIP --- gerbonara/cad/kicad/symbols.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gerbonara/cad/kicad') 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): -- cgit