[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
@@ -51,10 +51,8 @@ class FemMesh(ComplexGeoData):
|
||||
|
||||
@overload
|
||||
def addEdge(self, n1: int, n2: int, /) -> int: ...
|
||||
|
||||
@overload
|
||||
def addEdge(self, nodes: list[int], elem_id: int | None = None, /) -> int: ...
|
||||
|
||||
def addEdge(self, *args) -> int:
|
||||
"""Add an edge by setting two node indices."""
|
||||
...
|
||||
@@ -65,10 +63,8 @@ class FemMesh(ComplexGeoData):
|
||||
|
||||
@overload
|
||||
def addFace(self, n1: int, n2: int, n3: int, /) -> int: ...
|
||||
|
||||
@overload
|
||||
def addFace(self, nodes: list[int], elem_id: int | None = None, /) -> int: ...
|
||||
|
||||
def addFace(self) -> Any:
|
||||
"""Add a face by setting three node indices."""
|
||||
...
|
||||
@@ -83,10 +79,8 @@ class FemMesh(ComplexGeoData):
|
||||
|
||||
@overload
|
||||
def addVolume(self, n1: int, n2: int, n3: int, n4: int, /) -> int: ...
|
||||
|
||||
@overload
|
||||
def addVolume(self, nodes: list[int], elem_id: int | None = None, /) -> int: ...
|
||||
|
||||
def addVolume(self, *args) -> int:
|
||||
"""Add a volume by setting an arbitrary number of node indices."""
|
||||
...
|
||||
@@ -121,7 +115,8 @@ class FemMesh(ComplexGeoData):
|
||||
groupParam: bool,
|
||||
volVariant: str = "standard",
|
||||
faceVariant: str = "shell",
|
||||
edgeVariant: str = "beam") -> None:
|
||||
edgeVariant: str = "beam",
|
||||
) -> None:
|
||||
"""
|
||||
Write out as ABAQUS inp.
|
||||
|
||||
@@ -295,7 +290,6 @@ class FemMesh(ComplexGeoData):
|
||||
def getIdByElementType(self, elem_type: str, /) -> tuple[int, ...]:
|
||||
"""Return a tuple of IDs to a given element type"""
|
||||
...
|
||||
|
||||
Nodes: Final[dict]
|
||||
"""Dictionary of Nodes by ID (int ID:Vector())"""
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@ from Base.Metadata import export
|
||||
|
||||
from Fem.FemPostFilter import FemPostFilter
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/Fem/App/FemPostBranchFilter.h",
|
||||
Namespace="Fem",
|
||||
|
||||
@@ -27,7 +27,6 @@ class FemPostPipeline(FemPostObject):
|
||||
|
||||
@overload
|
||||
def read(self, file_name: str, /) -> None: ...
|
||||
|
||||
@overload
|
||||
def read(
|
||||
self,
|
||||
@@ -36,8 +35,7 @@ class FemPostPipeline(FemPostObject):
|
||||
unit: Unit,
|
||||
frame_type: str,
|
||||
/,
|
||||
) -> None: ...
|
||||
|
||||
) -> None: ...
|
||||
def read(self, *args) -> None:
|
||||
"""
|
||||
Reads in a single vtk file or creates a multiframe result by reading in multiple result files.
|
||||
@@ -56,7 +54,6 @@ class FemPostPipeline(FemPostObject):
|
||||
|
||||
@overload
|
||||
def load(self, obj: DocumentObject, /) -> None: ...
|
||||
|
||||
@overload
|
||||
def load(
|
||||
self,
|
||||
@@ -65,8 +62,7 @@ class FemPostPipeline(FemPostObject):
|
||||
unit: Unit,
|
||||
frame_type: str,
|
||||
/,
|
||||
) -> None: ...
|
||||
|
||||
) -> None: ...
|
||||
def load(self, *args) -> Any:
|
||||
"""
|
||||
Load a single result object or create a multiframe result by loading multiple result frames.
|
||||
|
||||
@@ -8,7 +8,6 @@ from Base.Metadata import export
|
||||
|
||||
from Gui.ViewProviderGeometryObject import ViewProviderGeometryObject
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/Fem/Gui/ViewProviderFemConstraint.h",
|
||||
Namespace="FemGui",
|
||||
@@ -33,7 +32,6 @@ class ViewProviderFemConstraint(ViewProviderGeometryObject):
|
||||
Open Inventor file.
|
||||
"""
|
||||
...
|
||||
|
||||
SymbolNode: Final[Any]
|
||||
"""A pivy SoSeparator with the nodes of the constraint symbols"""
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@ from Base.Metadata import export
|
||||
|
||||
from Gui.ViewProviderGeometryObject import ViewProviderGeometryObject
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/Fem/Gui/ViewProviderFemMesh.h",
|
||||
Namespace="FemGui",
|
||||
@@ -44,7 +43,6 @@ class ViewProviderFemMesh(ViewProviderGeometryObject):
|
||||
def setNodeDisplacementByVectors(self) -> Any:
|
||||
""""""
|
||||
...
|
||||
|
||||
NodeColor: dict
|
||||
"""Postprocessing color of the nodes. The faces between the nodes get interpolated."""
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@ from Base.Metadata import export
|
||||
|
||||
from Gui.ViewProviderDocumentObject import ViewProviderDocumentObject
|
||||
|
||||
|
||||
@export(
|
||||
Twin="ViewProviderFemPostObject",
|
||||
TwinPointer="ViewProviderFemPostObject",
|
||||
|
||||
@@ -8,7 +8,6 @@ from Base.Metadata import export
|
||||
|
||||
from Gui.ViewProviderDocumentObject import ViewProviderDocumentObject
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/Fem/Gui/ViewProviderFemPostPipeline.h",
|
||||
Namespace="FemGui",
|
||||
|
||||
Reference in New Issue
Block a user