Skip to content

Update plotting modules to support ansys-tools-visualization-interface. #2841

@moe-ad

Description

@moe-ad

Value proposition

The main value proposition is that ansys-tools-visualization-interface has some level support for other backends (e.g. trame and plotly) in addition to support for pyvista(which pydpf-core currently leverages). Which means we could also support more plotting backends other than pyvista through the viz-interface.

I would also like to mention is that other flagship libraries have integrated the viz-interface as well, and doing same in this library would mean we now expose plotting functionalities that are similar in look and feel to other PyAnsys ecosystem libraries.

Furthermore, new features such as OpenUSD support are in the pipelines for the viz-interface that we could benefit from (and of course any new features in the future as well).

We can start exploring how best to integrate the viz interface in pydpf-core as well.

General notes

While we are still refining the implementation approach continuously, the following decisions have been reached so far:

  • The plan is not to expose the same plotting APIs as other libraries using the viz-interface. No common API currently exists and we are free to customize things as needed.
  • For starters, we should focus on switching the current _PyVistaPlotter backend to viz-interface's PyVistaBackend.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions