- Gerber Export is fixed to work with the new Gerber object data structure and it now works also for Gerber objects edited in Gerber Editor

This commit is contained in:
Marius Stanciu
2019-05-15 02:29:33 +03:00
parent 8679cbbcda
commit c70309e802
3 changed files with 136 additions and 95 deletions

View File

@@ -3468,6 +3468,11 @@ class FlatCAMGrbEditor(QtCore.QObject):
else:
new_geo_el['follow'] = geometric_data['follow']
follow_buffer.append(deepcopy(new_geo_el['follow']))
else:
if 'solid' in geometric_data:
geo_f = geometric_data['solid'].exterior
new_geo_el['follow'] = geo_f
follow_buffer.append(deepcopy(new_geo_el['follow']))
if 'clear' in geometric_data:
new_geo_el['clear'] = geometric_data['clear']