Metadata-Version: 2.4
Name: hexamsh
Version: 1.0.1
Summary: Generate structured hexahedral meshes for finite element analysis from CAD models using Gmsh.
License-Expression: BSD-3-Clause
Project-URL: Homepage, https://github.com/michelin/HexaMSH
Project-URL: Repository, https://github.com/michelin/HexaMSH
Project-URL: Issues, https://github.com/michelin/HexaMSH/issues
Keywords: hexahedral-mesh,mesh-generation,gmsh,finite-element-analysis
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Requires-Python: ==3.12.*
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: gmsh==4.15.2
Requires-Dist: numpy
Requires-Dist: click
Requires-Dist: scipy
Requires-Dist: keyboard
Requires-Dist: pynput
Provides-Extra: dev
Requires-Dist: bandit; extra == "dev"
Requires-Dist: black; extra == "dev"
Requires-Dist: isort; extra == "dev"
Requires-Dist: pylint; extra == "dev"
Requires-Dist: pytest; extra == "dev"
Requires-Dist: pytest-cov; extra == "dev"
Requires-Dist: pytest-html; extra == "dev"
Requires-Dist: sphinx; extra == "dev"
Requires-Dist: sphinx-copybutton; extra == "dev"
Dynamic: license-file

# HexaMSH

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/>

![Generated hexahedral mesh of Workpiece 2](docs/images/hexamsh.png)

> **License notice:** Users of HexaMSH must comply with the BSD-3-Clause license for the HexaMSH layer ([LICENSE](LICENSE)) and the GNU GPL v2-or-later license for Gmsh ([license terms](https://gmsh.info/LICENSE.txt)).

## Getting started

For now, HexaMSH is not available through PyPI.

Please git clone the github project and locally install

`pip install .`

and 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.

## Contributing

Contributions are welcome. Please read the [Contributing Guide](CONTRIBUTING.md) before
opening an issue or submitting a pull request. All contributors are expected to follow
the [Code of Conduct](CODE_OF_CONDUCT.md).
