Metadata-Version: 2.4
Name: biomesh
Version: 0.2.0
Summary: Create meshes from segmented imaging data for finite element simulations using Gmsh.
Project-URL: Homepage, https://github.com/amgebauer/biomesh
Project-URL: Bug Tracker, https://github.com/amgebauer/biomesh/issues
Author-email: Amadeus Gebauer <amadeus.gebauer@tum.de>
License: GPL-3.0-or-later
License-File: LICENSE
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.10
Requires-Dist: gmsh==4.14.0
Requires-Dist: lnmmeshio>=5.6.4
Requires-Dist: loguru>=0.7.2
Requires-Dist: meshio<6,>=5.3.5
Requires-Dist: numpy>=1.26.4
Requires-Dist: pygmsh==7.1.17
Requires-Dist: python-utils>=2.3.0
Requires-Dist: pyyaml<7,>=6.0.0
Requires-Dist: scipy
Requires-Dist: tqdm==4.66.5
Description-Content-Type: text/markdown

# biomesh

[![pipeline](https://github.com/amgebauer/biomesh/actions/workflows/build_and_test.yml/badge.svg)](https://github.com/amgebauer/biomesh/actions/workflows/build_and_test.yml)

## Usage

To generate a finite element mesh from multiple colored stl-files, you simply need to do

```python
import biomesh

mesh = biomesh.mesh_colored_stl_files(
    "path/to/part1.stl",
    "path/to/part2.stl",
    "path/to/part3.stl",
    mesh_size=2.0
)

# do something with mesh
```

The nodes of all stl-files are matched. Each stl-file will be considered as an own volume.
