excellon general

This commit is contained in:
David Robertson
2020-05-10 23:33:21 +01:00
parent 3a1089c277
commit 73479e75b6
5 changed files with 206 additions and 457 deletions

View File

@@ -452,6 +452,8 @@ class App(QtCore.QObject):
self.current_units = self.defaults['units']
# ###########################################################################################################
# #################################### SETUP OBJECT CLASSES #################################################
# ###########################################################################################################
@@ -1590,11 +1592,7 @@ class App(QtCore.QObject):
self.set_ui_title(name=_("New Project - Not saved"))
# disable the Excellon path optimizations made with Google OR-Tools if the app is run on a 32bit platform
current_platform = platform.architecture()[0]
if current_platform != '64bit':
self.ui.excellon_defaults_form.excellon_gen_group.excellon_optimization_radio.set_value('T')
self.ui.excellon_defaults_form.excellon_gen_group.excellon_optimization_radio.setDisabled(True)
# ###########################################################################################################
# ########################################### EXCLUSION AREAS ###############################################
@@ -10340,8 +10338,7 @@ class App(QtCore.QObject):
alpha_level = 'BF'
for sel_obj in sel_obj_list:
if sel_obj.kind == 'excellon':
alpha_level = str(hex(
self.ui.excellon_defaults_form.excellon_gen_group.color_alpha_slider.value())[2:])
alpha_level = self.defaults["excellon_plot_fill"][7:]
elif sel_obj.kind == 'gerber':
alpha_level = self.defaults["gerber_plot_fill"][7:]
elif sel_obj.kind == 'geometry':