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.

vedo, formerly known as vtkplotter

See original GitHub issue

As noted in #44, matplotlib distorts three-dimensional views uncontrollably. Some very nice plots were added to #357 using vtkplotter. It might be a worthwhile addition to skfem.visuals #286. (I haven’t looked at the licence or portability.)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
gdmcbaincommented, Apr 15, 2020

A quick experiment went well.

On a laptop running Microsoft Windows 10

pip install vtkplotter

Then after having run ex32.py from #342, run

from vtkplotter import Plotter

vp = Plotter()
vp.load('ex32.vtk')
vp.show()

This pops up a ‘Visualization Toolkit Win32OpenGL’ showing a green triangulated ellipsoid which can be rotated, translated, and zoomed with the mouse.

  • Hit ‘h’ in this window to display help back in the terminal.
  • Hit ‘4’ to cycle through scalars to colour by; here twice for pressure.
  • Hit ‘s’ to save screenshot.png.

screenshot

This does nicely show the p ~xy pattern expected from creeping convection in a horizontally heated ellipsoid.

I assume this could be scripted, once I read the docs.

0reactions
kinnalacommented, May 26, 2020

I’ve been encountering issues trying to run this in a docker container, I’m only developing inside containers nowadays.

I think I have to next try it out in a Ubuntu 20.04 virtual machine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

vedo.plotter API documentation
This module defines the main class Plotter to manage actors and 3D rendering …
Read more >
Proposal of an open-source computational toolbox for solving ...
... specialized scientific modules for finite element visualization, such as vedo (formerly known as vtkplotter; Musy et al., 2020, 2019), are available.
Read more >
How to interact with vtkplotter using custom functions?
You need to render the scene in the loop. I would try something easier like: import time from vedo import * a =...
Read more >
Ubuntu – Details of package python3-vtkplotter in focal
External Resources: Homepage [vtkplotter.embl.es]. Similar packages: python3-vedo-examples · mayavi2 · mgltools-dejavu · python3-veusz · python3- ...
Read more >
DEGREE THESIS - UPCommons
I would also like to acknowledge my friends for their encouragement and kindness, ... through a scientific python module called VTK plotter.
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