question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

option to use PyVista for 3D plotting?

See original GitHub issue

I’m thinking about adding changes to discretize that would leverage PyVista for 3D plotting if it is available. For example, I’m thinking about adding a condition for mesh.plotGrid that would call .to_vtk() and set up a PyVista figure rather than a Matplotlib figure:

Here’s a current implementation (from this example):

ezgif com-video-to-gif-3

That same mesh can be plotted with PyVista:

ezgif com-video-to-gif-3

What are folks thoughts on this?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:2
  • Comments:11 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
domfourniercommented, Apr 7, 2021

Well that’s exactly right @RichardScottOZ . My thought was to communicate through subsurface objects.

1reaction
RichardScottOZcommented, Apr 7, 2021

Might be a good Transform-2021 thing?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Examples — PyVista 0.37.0 documentation
Extract regions of one mesh using another mesh's surface ... Explore these examples to learn how to leverage our powerful 3D plotting routines...
Read more >
Hands-on Guide To PyVista: A Python Package For 3D ...
PyVista (formerly known as 'vtki') is a streamlined interface for the VTK, enabling mesh analysis and plotting 3D figures using Python code.
Read more >
Tutorial: PyVista - YouTube
Bane SullivanSlack channel, see softwareunderground.org/slack: t21-tue-pyvistaThe instructions and example code are hosted on GitHub here: ...
Read more >
3D Visualization with PyVista — discretize 0.8.2 documentation
To run this example, you will need to install pyvista . ... discretize import pyvista as pv import numpy as np # Set...
Read more >
Favourite Tool/Package of 2020 | John P. Morrissey
PyVista. PyVista is a powerful and flexible library for plotting 3D figures using python. It's also based on VTK, but implements a higher...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found