Skip to content

Commit 14922d9

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 97f0e2d commit 14922d9

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/ansys/mechanical/core/embedding/viz/pyvista_plotter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def _get_nodes_and_coords(node: "Ansys.Mechanical.Scenegraph.Node"):
6464
return _get_tri_nodes_and_coords(node)
6565

6666
# TODO - support line tessellation node. See issue #809
67-
#if isinstance(node, Ansys.Mechanical.Scenegraph.LineTessellationNode):
67+
# if isinstance(node, Ansys.Mechanical.Scenegraph.LineTessellationNode):
6868
return None, None
6969

7070

src/ansys/mechanical/core/embedding/viz/usd_converter.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,7 @@ def _convert_tri_tessellation_node(
7474

7575

7676
def _create_prim_with_transform(
77-
stage: Usd.Stage,
78-
path: str,
79-
node: "Ansys.Mechanical.Scenegraph.TransformNode"
77+
stage: Usd.Stage, path: str, node: "Ansys.Mechanical.Scenegraph.TransformNode"
8078
) -> Usd.Prim:
8179
"""Create an empty Usd Xform prim based on a mechanical transform node."""
8280
prim = UsdGeom.Xform.Define(stage, path)

0 commit comments

Comments
 (0)