Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyvista vs pvgeo #98

Closed
andrea-bistacchi opened this issue Jan 8, 2020 · 3 comments
Closed

pyvista vs pvgeo #98

andrea-bistacchi opened this issue Jan 8, 2020 · 3 comments
Assignees
Labels
API How things work or the architecture in general PVGeo

Comments

@andrea-bistacchi
Copy link

Hello, what are the differences between PyVista and PVGeo?

On the PVGeo documentation read that PVGeo can be used inside and outside Paraview, and the link on how to use PVGeo in Paraview is broken, so it is difficult to understand.

I have the impression that either (1) PyVista is a library on which PVGeo is built (so maybe PVGeo has more tools or is easier?), or that (2) PVGeo is an older project and PyVista is more regularly updated (so we should use PyVista and not PVGeo?).

Thanks very much!

@andrea-bistacchi
Copy link
Author

Ooops... I've found the instructions for installation here.

http://pvgeo.org/overview/getting-started.html

So it looks like that PVGeo is (1) written in Python 2.7 (wile PyVista is 3.x) and it is strictly related to Paraview.

It remains one open point: which one allows more "things to be done"?

Thanks!

@banesullivan
Copy link
Member

banesullivan commented Jan 8, 2020

In brief, PVGeo is an extension package to either ParaView or PyVista. You can think of PyVista as a Python equivalent of ParaView as ParaView is a GUI wrapping of VTK and PyVista is a Python wrapping of VTK - they are both exposing much of the same functionality and those both are general 3D visualization tools on their own.

PVGeo comes in as a set of a few file readers and filters that make sense for geo-datasets. so if you're looking at PVGeo and PyVista and wondering...

which one allows more "things to be done"?

PyVista wins by a long shot. PVGeo is just a set of a few file readers and filters that plug into PyVista and/or ParaView

So it looks like that PVGeo is (1) written in Python 2.7 (wile PyVista is 3.x) and it is strictly related to Paraview.

Not necessarily. Since ParaView leverages Python 2.7 (this is rapidly changing though), a lot of effort has been put into making sure PVGeo is both Python 2.7 and 3.x compliant. While PVGeo was originally built to only be used in ParaView, these days I recommend folks to pair it with PyVista in a standard Python environment outside of ParaView. For example, checkout PVGeo's example gallery where we demo how to use PVGeo's readers and filters in a PyVista workflow.

@banesullivan banesullivan added API How things work or the architecture in general PVGeo labels Jan 8, 2020
@banesullivan banesullivan self-assigned this Jan 8, 2020
@andrea-bistacchi
Copy link
Author

Thanks very clear now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API How things work or the architecture in general PVGeo
Projects
None yet
Development

No branches or pull requests

2 participants