diff options
author | Garret Fick <garret@ficksworkshop.com> | 2016-03-26 15:59:42 +0800 |
---|---|---|
committer | Garret Fick <garret@ficksworkshop.com> | 2016-03-26 15:59:42 +0800 |
commit | acde19f205898188c03a46e5d8a7a6a4d4637a2d (patch) | |
tree | f1c11657ecf104fa86d33c233d2c67dd7d40cd96 /gerber/render/render.py | |
parent | d12f6385a434c02677bfbb7b075dd9d8e49627fe (diff) | |
download | gerbonara-acde19f205898188c03a46e5d8a7a6a4d4637a2d.tar.gz gerbonara-acde19f205898188c03a46e5d8a7a6a4d4637a2d.tar.bz2 gerbonara-acde19f205898188c03a46e5d8a7a6a4d4637a2d.zip |
Support for the G85 slot statement
Diffstat (limited to 'gerber/render/render.py')
-rw-r--r-- | gerber/render/render.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gerber/render/render.py b/gerber/render/render.py index b518385..a5ae38e 100644 --- a/gerber/render/render.py +++ b/gerber/render/render.py @@ -150,6 +150,8 @@ class GerberContext(object): self._render_polygon(primitive, color) elif isinstance(primitive, Drill): self._render_drill(primitive, self.drill_color) + elif isinstance(primitive, Slot): + self._render_slot(primitive, self.drill_color) elif isinstance(primitive, AMGroup): self._render_amgroup(primitive, color) elif isinstance(primitive, Outline): @@ -183,6 +185,9 @@ class GerberContext(object): def _render_drill(self, primitive, color): pass + def _render_slot(self, primitive, color): + pass + def _render_amgroup(self, primitive, color): pass |