summaryrefslogtreecommitdiff
path: root/gerber/primitives.py
diff options
context:
space:
mode:
authorGarret Fick <garret@ficksworkshop.com>2016-01-31 15:24:57 +0800
committerGarret Fick <garret@ficksworkshop.com>2016-01-31 15:24:57 +0800
commit96bdd0f59dbda9b755b0eb28eb44cb9a6eae1410 (patch)
treeacf632e4dc51c3a5a545defd87f433e0bf8354c3 /gerber/primitives.py
parente84f131720e5952ba0dc20de8729bfd1d7aa0fe7 (diff)
downloadgerbonara-96bdd0f59dbda9b755b0eb28eb44cb9a6eae1410.tar.gz
gerbonara-96bdd0f59dbda9b755b0eb28eb44cb9a6eae1410.tar.bz2
gerbonara-96bdd0f59dbda9b755b0eb28eb44cb9a6eae1410.zip
Keep track of quadrant mode so we can draw full circles
Diffstat (limited to 'gerber/primitives.py')
-rw-r--r--gerber/primitives.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gerber/primitives.py b/gerber/primitives.py
index 81c5837..944e34a 100644
--- a/gerber/primitives.py
+++ b/gerber/primitives.py
@@ -221,13 +221,14 @@ class Line(Primitive):
class Arc(Primitive):
"""
"""
- def __init__(self, start, end, center, direction, aperture, **kwargs):
+ def __init__(self, start, end, center, direction, aperture, quadrant_mode, **kwargs):
super(Arc, self).__init__(**kwargs)
self.start = start
self.end = end
self.center = center
self.direction = direction
self.aperture = aperture
+ self.quadrant_mode = quadrant_mode
self._to_convert = ['start', 'end', 'center', 'aperture']
@property