Skip to content
Merged
Show file tree
Hide file tree
Changes from 57 commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
bc1c412
wip
moe-ad Dec 17, 2025
b3263f7
wip
moe-ad Dec 19, 2025
951ab1d
wip
moe-ad Dec 24, 2025
32af804
wip
moe-ad Dec 29, 2025
eb515ec
wip
moe-ad Jan 5, 2026
5683efa
wip
moe-ad Jan 5, 2026
9de5451
wip
moe-ad Jan 5, 2026
8900f4e
Merge branch 'main' into feat/support-viz-interface
moe-ad Jan 7, 2026
a807254
Merge branch 'main' into feat/support-viz-interface
moe-ad Feb 8, 2026
c70aad9
wip
moe-ad Feb 8, 2026
5a57b5a
feat: support viz interface
moe-ad Feb 8, 2026
f3888f8
fix: dependency
moe-ad Feb 8, 2026
dabe43e
fix: unused import
moe-ad Feb 8, 2026
bf61edb
fix: codacy error
moe-ad Feb 8, 2026
4ff37dc
fix: point to a new branch
moe-ad Feb 9, 2026
2aba631
fix: filter kwargs for pyvista backend
moe-ad Feb 10, 2026
d9a3645
fix: codestyle
moe-ad Feb 10, 2026
8a3f477
Merge branch 'main' into feat/support-viz-interface
moe-ad Feb 10, 2026
c225673
Merge branch 'main' into feat/support-viz-interface
moe-ad Feb 16, 2026
0db87ec
fix: add_points
moe-ad Feb 16, 2026
a057d71
fix: api calls and examples
moe-ad Feb 16, 2026
6b08dd3
Merge branch 'main' into feat/support-viz-interface
moe-ad Feb 16, 2026
403e859
fix: codestyle
moe-ad Feb 16, 2026
e95df8a
Merge branch 'main' into feat/support-viz-interface
moe-ad Feb 16, 2026
1d636c2
Merge branch 'main' into feat/support-viz-interface
moe-ad Feb 16, 2026
1ae98e5
feat: use add_labels and point to main branch
moe-ad Feb 18, 2026
dc6da91
Merge branch 'main' into feat/support-viz-interface
moe-ad Feb 18, 2026
57e180a
Merge branch 'main' into feat/support-viz-interface
moe-ad Feb 19, 2026
708580a
Merge branch 'main' into feat/support-viz-interface
moe-ad Feb 20, 2026
82ac5f3
Merge branch 'main' into feat/support-viz-interface
moe-ad Feb 20, 2026
2bd9a05
build: update viz to a pre-release version
moe-ad Feb 19, 2026
736901f
fix: review suggestion
moe-ad Feb 20, 2026
d03556f
Merge branch 'main' into feat/support-viz-interface
moe-ad Feb 23, 2026
361d3f6
Merge branch 'main' into feat/support-viz-interface
moe-ad Feb 23, 2026
745aa4e
Merge branch 'main' into feat/support-viz-interface
moe-ad Feb 23, 2026
9969f0a
Merge branch 'main' into feat/support-viz-interface
moe-ad Feb 23, 2026
bde920a
fix: try pyvista 0.46.5
moe-ad Feb 24, 2026
25b19b9
Merge branch 'main' into feat/support-viz-interface
moe-ad Feb 24, 2026
e6b1724
Merge branch 'main' into feat/support-viz-interface
moe-ad Feb 25, 2026
44f64cc
Merge branch 'main' into feat/support-viz-interface
moe-ad Feb 25, 2026
17e7dbb
tests: parameterize test_plotter module with both backends
moe-ad Feb 25, 2026
2eb0296
fix: hack for the labeling example
moe-ad Feb 25, 2026
08dff3d
fix: add images
moe-ad Feb 25, 2026
59d35e1
tests: update doc string tests
moe-ad Feb 25, 2026
8c250da
build: revert back to pyvista 0.47.0
moe-ad Feb 26, 2026
76aab01
Merge branch 'main' into feat/support-viz-interface
moe-ad Feb 27, 2026
5580e6d
test: disable autouse of plotter_backend fixture
moe-ad Mar 1, 2026
0b94cee
test: trigger ci
moe-ad Mar 1, 2026
e71bf45
test: remove test-api from ci parallel tests
moe-ad Mar 1, 2026
c17da74
test: cleanup tests
moe-ad Mar 2, 2026
3f1a13c
test: run test-api separately
moe-ad Mar 2, 2026
23943b2
test: fix for thread safe code
moe-ad Mar 2, 2026
dc070de
tests: revert
moe-ad Mar 2, 2026
150b811
Merge branch 'main' into feat/support-viz-interface
jorgepiloto Mar 2, 2026
6bb4a18
Merge branch 'main' into feat/support-viz-interface
moe-ad Mar 2, 2026
9f031c0
Merge branch 'main' into feat/support-viz-interface
moe-ad Mar 2, 2026
5b2fa76
chore: revert changes that make viz the default, to be addressed in a…
moe-ad Mar 2, 2026
8ad1baf
fix: review suggestions
moe-ad Mar 2, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/ansys/dpf/core/meshed_region.py
Comment thread
moe-ad marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

from __future__ import annotations

from typing import TYPE_CHECKING
from typing import TYPE_CHECKING, Optional

if TYPE_CHECKING: # pragma: nocover
from ansys.dpf.core.scoping import Scoping
Expand Down Expand Up @@ -524,7 +524,7 @@ def _set_stream_provider(self, stream_provider):
# self._internal_obj = skin.get_output(0, types.meshed_region)
# return MeshedRegion(self._server.channel, skin, self._model, name)

def deform_by(self, deform_by, scale_factor=1.0):
def deform_by(self, deform_by, scale_factor: Optional[float] = 1.0):
"""
Deforms the mesh according to a 3D vector field and an additional scale factor.

Expand All @@ -550,7 +550,7 @@ def deform_by(self, deform_by, scale_factor=1.0):
scale_op = scale(field=deform_by, weights=scale_factor)
return add(fieldA=self.nodes.coordinates_field, fieldB=scale_op.outputs.field).eval()

def _as_vtk(self, coordinates=None, as_linear=True, include_ids=False):
def _as_vtk(self, coordinates=None, as_linear: Optional[bool] = True, include_ids=False):
"""Convert DPF mesh to a PyVista unstructured grid."""
try:
from ansys.dpf.core.vtk_helper import dpf_mesh_to_vtk
Expand Down
Loading
Loading