- refactored the imports in the Plugins, moved almost all imports in the AppTool file
- fixed a number of issues, mostly leftovers from moving the UI of a Plugin in its own class - fixed some bugs in the Punch Gerber plugin - fixed some bugs where the 'pool' parameter was not passed when creating shapes collections (in 3D graphic mode); I wonder how it worked until now - added a new feature in the Isolation Plugin: now for all the isolation Geometry objects this plugin can do a supplementary simplification of the geometry using the tolerance parameter defined in the General Parameters. This should lead to a reduced number of tool lifts when doing corners
This commit is contained in:
committed by
Marius Stanciu
parent
e1824a09f7
commit
ada48269a9
@@ -5,25 +5,9 @@
|
||||
# MIT Licence #
|
||||
# ##########################################################
|
||||
|
||||
from PyQt6 import QtWidgets, QtCore, QtGui
|
||||
|
||||
from appTool import AppTool
|
||||
from appGUI.GUIElements import FCDoubleSpinner, RadioSet, EvalEntry, FCTable, FCComboBox, FCButton, FCLabel, \
|
||||
VerticalScrollArea, FCGridLayout, FCFrame, FCComboBox2
|
||||
from appTool import *
|
||||
from appCommon.Common import LoudDict
|
||||
|
||||
from shapely.geometry import Point, Polygon, MultiPolygon, LineString
|
||||
from shapely.geometry import box as box
|
||||
from shapely.ops import unary_union
|
||||
|
||||
import math
|
||||
import logging
|
||||
from copy import deepcopy
|
||||
|
||||
import gettext
|
||||
import appTranslation as fcTranslate
|
||||
import builtins
|
||||
|
||||
fcTranslate.apply_language('strings')
|
||||
if '_' not in builtins.__dict__:
|
||||
_ = gettext.gettext
|
||||
@@ -490,8 +474,7 @@ class ToolFiducials(AppTool):
|
||||
|
||||
:param center_pt:
|
||||
:param side_size:
|
||||
:return:
|
||||
:type return: Polygon
|
||||
:return: Polygon
|
||||
"""
|
||||
half_s = side_size / 2
|
||||
x_center = center_pt[0]
|
||||
@@ -947,7 +930,7 @@ class FidoUI:
|
||||
self.points_table.setMinimumHeight(self.points_table.getHeight() + 2)
|
||||
self.points_table.setMaximumHeight(self.points_table.getHeight() + 2)
|
||||
|
||||
# remove the frame on the QLineEdit childrens of the table
|
||||
# remove the frame on the QLineEdit children of the table
|
||||
for row in range(self.points_table.rowCount()):
|
||||
self.points_table.cellWidget(row, 2).setFrame(False)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user