- fixed an issue in Gerber parser introduced recently due of changes made to make Gerber files produced by Sprint Layout

This commit is contained in:
Marius Stanciu 2020-01-14 01:36:37 +02:00 committed by Marius
parent 41277d78ce
commit 5c932dc5cc
2 changed files with 3 additions and 1 deletions

View File

@ -13,6 +13,7 @@ CAD program, and create G-Code for Isolation routing.
- fixed a small GUI issue in Excellon UI when Basic mode is active
- started the add of a new Tool: Align Objects Tool which will align (sync) objects of Gerber or Excellon type
- fixed an issue in Gerber parser introduced recently due of changes made to make Gerber files produced by Sprint Layout
12.01.2020

View File

@ -835,7 +835,8 @@ class Gerber(Geometry):
# --- Buffered ---
geo_dict = dict()
if current_aperture in self.apertures:
buff_value = float(self.apertures[current_aperture]['size']) / 2.0
# the following line breaks loading of Circuit Studio Gerber files
# buff_value = float(self.apertures[current_aperture]['size']) / 2.0
# region_geo = Polygon(path).buffer(buff_value, int(self.steps_per_circle))
region_geo = Polygon(path) # Sprint Layout Gerbers with ground fill are crashed with above
else: