- In Extract Plugin fixed issue with not extracting soldermask for pads made with "P" type Gerber aperture

- in the method that exports the Gerber fixed issue with not exporting the geometry associated with the apertures of type "P"
This commit is contained in:
Marius Stanciu
2021-09-19 21:47:34 +03:00
committed by Marius
parent 59e19c6228
commit f6caeff9c9
3 changed files with 10 additions and 3 deletions

View File

@@ -1347,7 +1347,7 @@ class GerberObject(FlatCAMObj, Gerber):
for apid in self.tools:
if apid == 0:
continue
elif self.tools[apid]['type'] == 'AM':
elif self.tools[apid]['type'] in ['AM', 'P']:
if 'geometry' in self.tools[apid]:
for geo_elem in self.tools[apid]['geometry']:
if 'solid' in geo_elem: