diff options
author | Garret Fick <garret@ficksworkshop.com> | 2016-02-02 00:11:55 +0800 |
---|---|---|
committer | Garret Fick <garret@ficksworkshop.com> | 2016-02-02 00:11:55 +0800 |
commit | 5b93db47cd29e384ead918db1893f4cf58326f82 (patch) | |
tree | 3c0614481a14aaf465814be0fb88e90d294fde4b /gerber/primitives.py | |
parent | 96bdd0f59dbda9b755b0eb28eb44cb9a6eae1410 (diff) | |
download | gerbonara-5b93db47cd29e384ead918db1893f4cf58326f82.tar.gz gerbonara-5b93db47cd29e384ead918db1893f4cf58326f82.tar.bz2 gerbonara-5b93db47cd29e384ead918db1893f4cf58326f82.zip |
Draw thermal aperture macros (as approximation)
Diffstat (limited to 'gerber/primitives.py')
-rw-r--r-- | gerber/primitives.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gerber/primitives.py b/gerber/primitives.py index 944e34a..84115a6 100644 --- a/gerber/primitives.py +++ b/gerber/primitives.py @@ -730,7 +730,10 @@ class AMGroup(Primitive): self.primitives = []
for amprim in amprimitives:
prim = amprim.to_primitive(self.units)
- if prim:
+ if isinstance(prim, list):
+ for p in prim:
+ self.primitives.append(p)
+ elif prim:
self.primitives.append(prim)
self._position = None
self._to_convert = ['arimitives']
|