Welcome, Guest
Username: Password: Remember me
QGIS plugins

TOPIC: MeshTools

MeshTools 1 month 8 hours ago #44478

  • nicogodet
  • nicogodet's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 127
  • Thank you received: 31
Hello,

This topic is to share with a larger audience a QGIS plugin made in collaboration with Artelia, BRGM and ISL Ingénierie. I hope it will raise some discussions and maybe developpments !

MeshTools : github.com/Artelia/Mesh_tools

We made this plugin to make the preprocessing part of building a TELEMAC model easier. Especially when dealing with culverts and sources. The plugin is inspired from QGIS plugin shown by Artelia at SciCo (PreTelemac).
A lot of bugs still need to be fixed to have a performant plugin.
A lot of features are missing (breach, weirs=2 mostly).

Feel free to share your opinion and all contributions are welcome !

Regards,
Nicolas
The administrator has disabled public write access.
The following user(s) said Thank You: c.coulet, sebourban, Renault

MeshTools 1 month 4 hours ago #44480

  • tomsail
  • tomsail's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 29
  • Thank you received: 10
Hi Nicolas,

Thanks for the share. I checked it quickly.
Feedbacks on performance (on half a million nodes - 20km global)
- Analysis is not too bad; less than a minute
- Reset markers: strangely it takes time (10sec) to erase all markers, why is that?

Feedbacks on projections, in my case I need to check my mesh equilateralness in the stereographic projection. Do you think you could add the projection option for the check?

File Attachment:

File Name: world_stereo.zip
File Size: 1,259 KB


For the mesh quality, you have then:
- equilateralness
- max node number
- max size or area

The check_mesh.py presented by Rebekka yesterday has metrics on:
- circl_ratio
- check_angle
- overconstrained nodes
- orthogonality

pyPoseidon has a verify routine to check the mesh against the coastlines.

Ideally I would like to see also:
- a CCW check (triangle orientation) for GEOELT routine
- if triangles are crossing over other triangles (I have seen that happen)

We can also also bring this topic (of the mesh quality check) to another thread maybe.
The administrator has disabled public write access.

MeshTools 1 month 3 hours ago #44481

  • nicogodet
  • nicogodet's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 127
  • Thank you received: 31
Feedbacks on performance (on half a million nodes - 20km global)
- Analysis is not too bad; less than a minute
- Reset markers: strangely it takes time (10sec) to erase all markers, why is that?
It takes time because this is a for loop which takes time if you have a lot of "bad" cells.

In additions, this bad cells highlighting needs to be reworked as it causes a performance issue when there is a lot of bad cell.
QgsVertexMarker made UI laggish when the is too much on screen.
Analysis part needs to be done in a QgsTask to avoid freezing UI.

Feedbacks on projections, in my case I need to check my mesh equilateralness in the stereographic projection. Do you think you could add the projection option for the check?
Can you create an issue on repo ?

For the mesh quality, you have then:
- equilateralness
- max node number
- max size or area

The check_mesh.py presented by Rebekka yesterday has metrics on:
- circl_ratio
- check_angle
- overconstrained nodes
- orthogonality

pyPoseidon has a verify routine to check the mesh against the coastlines.

Ideally I would like to see also:
- a CCW check (triangle orientation) for GEOELT routine
- if triangles are crossing over other triangles (I have seen that happen)
I agree it needs to be uniform with the check_mesh.py

As said yesterday, this is more a Proof Of Concept than a fully working plugin. I will be happy to review PR :P
The administrator has disabled public write access.
The following user(s) said Thank You: tomsail
Moderators: borisb

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.