HexaMSH is a python library to generate structured hexahedral meshes for Finite Element Analysis.
It is based on the python API of gmsh and its GUI.
📖 Documentation: https://opensource.michelin.io/HexaMSH/
📦 PyPI: https://pypi.org/project/hexamsh/
License notice: Users of HexaMSH must comply with the BSD-3-Clause license for the HexaMSH layer (LICENSE) and the GNU GPL v2-or-later license for Gmsh (license terms).
Install HexaMSH from PyPI (Python 3.12 required):
pip install hexamsh
To work from source instead, git clone the github project and run pip install . from its root.
Then execute
hexamsh my_cad.stp
where my_cad.stp is the step file you want to mesh (it can either be a step, stp or brep).
Please work with only one CAD file per directory, otherwise HexaMSH will complain.
Contributions are welcome. Please read the Contributing Guide before opening an issue or submitting a pull request. All contributors are expected to follow the Code of Conduct.
