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.

How can I show edges in a VTU mesh?

See original GitHub issue

I am trying to use vedo to plot an unstructured 3D surface mesh and here’s what I did: from vedo import load, show surf_mesh = load('surface_mesh_with_topo.vtu) show(surf_mesh)

And here’s what was plotted: image

As you can see, there is not a single edge shown here. The following screenshot shows how the mesh looks like in Paraview: image

How can I show the edges of the unstructured mesh and set its colors?

Here is the mesh file:

surface_mesh_with_topo.vtu.zip

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:18 (18 by maintainers)

github_iconTop GitHub Comments

2reactions
XushanLucommented, Apr 28, 2021

Sorry, I am pretty sure I did not use the code in Github. Now I do, and the issue is fixed. That elevation parameter is really convenient!

I can confirm that Shift-C and Shift-A do what you described. Now I am happy about this picture. I should be trying to reproduce something other pictures that I used to plot with Paraview just for fun. Thanks!

1reaction
XushanLucommented, Apr 28, 2021

11.2.3. I am about to update the OS but have not done that.

I think from what I saw, that did not solve the problem for wand.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Paraview] display boundaries of 2D geometry
Hi, is there a way to display the boundaries (edges) of a 2D geometry? I have converted my mesh to vtu using Elmergrid,...
Read more >
[Paraview] display boundaries of 2D geometry - Kitware Inc.
Zenker at erbe-med.com> wrote: Hi, is there a way to display the boundaries (edges) of a 2D geometry? I have converted my mesh...
Read more >
3. Understanding Data - ParaView Documentation
In general, a mesh consists of vertices (points ) and cells (elements, zones). ... VTK natively supports Berger-Oliger type AMR datasets, as shown...
Read more >
Map NetCDF data on OGS-VTU mesh - Usability
Just right-click on ExtractSelection in the pipeline browser, then Add Filter->Alphabetical->Clip . Set Click Type to Plane ; the Origin close ...
Read more >
Extract Triangles IDs from VTU file - python - Stack Overflow
If I now load the same pvtu in Python and display the mesh in the following manner, import numpy import matplotlib.pyplot as plt...
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