FEM: pep8
This commit is contained in:
@@ -486,7 +486,8 @@ class GeometryElementsSelection(QtGui.QWidget):
|
||||
else:
|
||||
# could be more than two solids, think of polar pattern
|
||||
FreeCAD.Console.PrintMessage(
|
||||
" Edge belongs to at least two solids: Solid{}, Solid{}\n"
|
||||
" Edge belongs to at least two solids: "
|
||||
" Solid{}, Solid{}\n"
|
||||
.format(solid_to_add, str(i + 1))
|
||||
)
|
||||
solid_to_add = None
|
||||
@@ -542,7 +543,11 @@ class GeometryElementsSelection(QtGui.QWidget):
|
||||
.format(self.get_item_text(selection))
|
||||
)
|
||||
FreeCAD.Console.PrintMessage(message)
|
||||
QtGui.QMessageBox.critical(None, "Geometry already in list", message.lstrip(" "))
|
||||
QtGui.QMessageBox.critical(
|
||||
None,
|
||||
"Geometry already in list",
|
||||
message.lstrip(" ")
|
||||
)
|
||||
else:
|
||||
# selected shape will not added to the list
|
||||
FreeCADGui.Selection.clearSelection()
|
||||
|
||||
@@ -27,8 +27,6 @@ __url__ = "http://www.freecadweb.org"
|
||||
|
||||
import FreeCAD
|
||||
|
||||
from . import femutils
|
||||
|
||||
|
||||
# ************************************************************************************************
|
||||
def find_element_in_shape(
|
||||
@@ -248,5 +246,3 @@ def get_cylindrical_coords(
|
||||
B_coords = str(B[0]) + "," + str(B[1]) + "," + str(B[2])
|
||||
coords = A_coords + "," + B_coords
|
||||
return coords
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user