- working on adding new feature to Punch Gerber Tool - manual selection of pads to be punched

This commit is contained in:
Marius Stanciu
2020-11-15 02:47:05 +02:00
committed by Marius Stanciu
parent f81c6fd36a
commit 0fea6d0adf
3 changed files with 376 additions and 37 deletions

View File

@@ -686,6 +686,7 @@ class Gerber(Geometry):
poly_buffer.append(flash.simplify(s_tol))
else:
poly_buffer.append(flash)
if self.is_lpc is True:
geo_dict['clear'] = flash
else:
@@ -1215,6 +1216,7 @@ class Gerber(Geometry):
self.apertures[current_aperture],
self.steps_per_circle
)
if not flash.is_empty:
if self.app.defaults['gerber_simplification']:
poly_buffer.append(flash.simplify(s_tol))