- changed the above: too many shapes collections and the performance will go down. Created a class Exclusion areas that holds all the require properties and the Object UI elements will connect to it's methods. This way I can apply this to Excellon object too (who are a special type of Geometry Object)
This commit is contained in:
@@ -43,7 +43,7 @@ import socket
|
||||
# ####################################################################################################################
|
||||
|
||||
# Diverse
|
||||
from FlatCAMCommon import LoudDict, color_variant
|
||||
from FlatCAMCommon import LoudDict, color_variant, ExclusionAreas
|
||||
from FlatCAMBookmark import BookmarkManager
|
||||
from FlatCAMDB import ToolsDB2
|
||||
|
||||
@@ -1601,6 +1601,11 @@ class App(QtCore.QObject):
|
||||
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 ###############################################
|
||||
# ###########################################################################################################
|
||||
self.exc_areas = ExclusionAreas(app=self)
|
||||
|
||||
# ###########################################################################################################
|
||||
# ##################################### Finished the CONSTRUCTOR ############################################
|
||||
# ###########################################################################################################
|
||||
|
||||
Reference in New Issue
Block a user