- some fixes in Paint Tool when done over the Gerber objects in case that the progressive plotting is selected

- some fixes in Gerber isolation in case that the progressive plotting is selected; added a 'Buffer solid geometry' button shown only when progressive plotting for Gerber object is selected. It will buffer the entire geometry of the object and plot it, in a threaded way.
This commit is contained in:
Marius Stanciu
2019-09-09 14:32:30 +03:00
parent f38dab80e3
commit 2bd730ceeb
4 changed files with 139 additions and 27 deletions

View File

@@ -381,16 +381,25 @@ class GerberObjectUI(ObjectUI):
)
grid1.addWidget(self.gen_iso_label, 6, 0, 1, 3)
self.create_buffer_button = QtWidgets.QPushButton(_('Buffer Solid Geometry'))
self.create_buffer_button.setToolTip(
_("This button is shown only when the Gerber file\n"
"is loaded without buffering.\n"
"Clicking this will create the buffered geometry\n"
"required for isolation.")
)
grid1.addWidget(self.create_buffer_button, 7, 0, 1, 3)
self.generate_iso_button = QtWidgets.QPushButton(_('FULL Geo'))
self.generate_iso_button.setToolTip(
_("Create the Geometry Object\n"
"for isolation routing. It contains both\n"
"the interiors and exteriors geometry.")
)
grid1.addWidget(self.generate_iso_button, 7, 0)
grid1.addWidget(self.generate_iso_button, 8, 0)
hlay_1 = QtWidgets.QHBoxLayout()
grid1.addLayout(hlay_1, 7, 1, 1, 2)
grid1.addLayout(hlay_1, 8, 1, 1, 2)
self.generate_ext_iso_button = QtWidgets.QPushButton(_('Ext Geo'))
self.generate_ext_iso_button.setToolTip(
@@ -420,7 +429,7 @@ class GerberObjectUI(ObjectUI):
self.ois_iso = OptionalInputSection(self.follow_cb,
[self.generate_int_iso_button, self.generate_ext_iso_button], logic=False)
grid1.addWidget(QtWidgets.QLabel(''), 8, 0)
grid1.addWidget(QtWidgets.QLabel(''), 9, 0)
# ###########################################
# ########## NEW GRID #######################