- 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:
parent
41277d78ce
commit
5c932dc5cc
|
@ -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
|
- 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
|
- 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
|
12.01.2020
|
||||||
|
|
||||||
|
|
|
@ -835,7 +835,8 @@ class Gerber(Geometry):
|
||||||
# --- Buffered ---
|
# --- Buffered ---
|
||||||
geo_dict = dict()
|
geo_dict = dict()
|
||||||
if current_aperture in self.apertures:
|
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).buffer(buff_value, int(self.steps_per_circle))
|
||||||
region_geo = Polygon(path) # Sprint Layout Gerbers with ground fill are crashed with above
|
region_geo = Polygon(path) # Sprint Layout Gerbers with ground fill are crashed with above
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue