eX-Mech / pymech

A Python software suite for Nek5000 and SIMSON
https://pymech.readthedocs.io/en/stable
GNU General Public License v3.0
24 stars 24 forks source link

Missing functions in meshtools #82

Closed guillaumechauvat closed 1 year ago

guillaumechauvat commented 1 year ago

There aren't many functionalities implemented in meshtools right now. A few easy functions would be potentially useful:

More complicated and speculative:

Feel free to add anything to this list!

ashwinvis commented 1 year ago

Visualize the mesh as a

plot

guillaumechauvat commented 1 year ago

Do you have an idea of what library to use? For 3D or large meshes I don't think matplotlib is the way to go, maybe some OpenGL library, but I don't want to add dependencies that can break easily either.

guillaumechauvat commented 1 year ago

wxpython with pyOpenGL seems to work. I'll start with that, and if there are objections I can switch to something else.

ashwinvis commented 1 year ago

No objections if it works on all OSs. Perhaps you can consider creating a subpackage called meshtools, so we can accomodate other visualization libraries in the future.