- upgrade to use the new notations in the Shapely's buffer method for the cap_style and join_style parameters (used to be integers, now they are strings or defines)

This commit is contained in:
Marius Stanciu
2025-03-05 01:49:19 +02:00
parent bc3fb8fdee
commit 3f504e86c6
19 changed files with 88 additions and 84 deletions

View File

@@ -36,7 +36,7 @@ log = logging.getLogger('base')
class ToolDrilling(AppTool, Excellon):
builduiSig = QtCore.pyqtSignal()
build_ui_sig = QtCore.pyqtSignal()
def __init__(self, app):
self.app = app
@@ -198,7 +198,7 @@ class ToolDrilling(AppTool, Excellon):
# #############################################################################
# ############################ SIGNALS ########################################
# #############################################################################
self.builduiSig.connect(self.build_tool_ui)
self.build_ui_sig.connect(self.build_tool_ui)
self.ui.level.toggled.connect(self.on_level_changed)
@@ -228,7 +228,7 @@ class ToolDrilling(AppTool, Excellon):
# ############################ SIGNALS ########################################
# #############################################################################
try:
self.builduiSig.disconnect()
self.build_ui_sig.disconnect()
except (TypeError, AttributeError):
pass
@@ -1833,7 +1833,7 @@ class ToolDrilling(AppTool, Excellon):
self.app.inform.emit('[success] %s' % _("Value edited in Exclusion Table."))
self.ui_connect()
self.builduiSig.emit()
self.build_ui_sig.emit()
def on_exclusion_table_strategy(self):
cw = self.sender()
@@ -1848,7 +1848,7 @@ class ToolDrilling(AppTool, Excellon):
self.app.inform.emit('[success] %s' % _("Value edited in Exclusion Table."))
self.ui_connect()
self.builduiSig.emit()
self.build_ui_sig.emit()
@staticmethod
def process_slot_as_drills(slot, overlap, add_last_pt=False):