summaryrefslogtreecommitdiff
path: root/gerbonara/gerber/graphic_primitives.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2021-12-29 22:03:33 +0100
committerjaseg <git@jaseg.de>2021-12-29 22:03:33 +0100
commitd8ff4a468b7299a370905b5c12c62393e369c61a (patch)
tree9b55fb9921b0a52900f066483792c4121253ac50 /gerbonara/gerber/graphic_primitives.py
parent3fb26e6940b5ae752308d8a33f2608d266795153 (diff)
downloadgerbonara-d8ff4a468b7299a370905b5c12c62393e369c61a.tar.gz
gerbonara-d8ff4a468b7299a370905b5c12c62393e369c61a.tar.bz2
gerbonara-d8ff4a468b7299a370905b5c12c62393e369c61a.zip
Fix some failing tests
Diffstat (limited to 'gerbonara/gerber/graphic_primitives.py')
-rw-r--r--gerbonara/gerber/graphic_primitives.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/gerbonara/gerber/graphic_primitives.py b/gerbonara/gerber/graphic_primitives.py
index 9518501..4810066 100644
--- a/gerbonara/gerber/graphic_primitives.py
+++ b/gerbonara/gerber/graphic_primitives.py
@@ -95,11 +95,13 @@ class Line(GraphicPrimitive):
@dataclass
class Arc(GraphicPrimitive):
- x : float
- y : float
- r : float
- angle1 : float # radians!
- angle2 : float # radians!
+ x1 : float
+ y1 : float
+ x2 : float
+ y2 : float
+ cx : float
+ cy : float
+ flipped : bool
width : float
# FIXME bounds