skillfed

meshioplusplus

meshio++: I/O for many mesh formats (C++20 core + Python bindings)

meshioplusplus v10.0.0 83.8K downloads/30d#14,046 on PyPI6
Permissive license The MIT License (MIT) Copyright (c) 2015-2021 Nico Schlömer et al. Copyright (c) 2026 Vicente Mataix Ferrándiz Permission is hereby granted, free of charge, to any person obtaining a copy of this… (full text in the JSON record) Active released

What it is and what it does

meshioplusplus is a mesh file I/O library that reads and writes unstructured mesh data in dozens of scientific and engineering formats—including STL, VTK, Gmsh, CGNS, Exodus, Nastran, OpenFOAM, and many others. It provides seamless conversion between formats and includes a command-line tool for mesh manipulation (merge, transform, refine, partition, interpolate, slice, and more). The package ships a C++20 core built with pybind11 and scikit-build-core that achieves zero-copy numpy integration at the I/O boundary, with optional HDF5 and netCDF acceleration and a selectable parallel backend (OpenMP, STL+TBB, or sequential by default). Every format also has a pure-Python fallback, so behavior and file compatibility are identical whether or not native libraries are present.

The library is designed for researchers and engineers working with finite element meshes, computational fluid dynamics, and other simulation workflows. It depends on numpy for array handling, rich for terminal output, and importlib_metadata for version introspection. Pre-built wheels are available for modern Python versions (3.9–3.12) across macOS, Linux, and Windows, making installation straightforward for most users.

Use it for:

  • Convert mesh files between incompatible formats (e.g., Gmsh to VTK) in a simulation pipeline.
  • Load mesh data from scientific solvers into Python for post-processing and visualization.
  • Merge, refine, or partition large meshes using the command-line interface without writing custom code.
  • Transfer field data (temperature, pressure, etc.) across different mesh representations.
  • Generate signed distance fields or isosurfaces from mesh geometry for level-set methods.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

meshioplusplus reads and writes mesh files in dozens of formats (STL, VTK, Gmsh, CGNS, Exodus, and many others) and converts between them, with a C++20 core that provides zero-copy numpy integration at the I/O boundary.

Yes, if you work with mesh files in scientific computing or engineering. The library supports an extensive range of formats, integrates cleanly with numpy workflows, and offers both programmatic and CLI access. Medium install friction is offset by pre-built wheels and active maintenance. No known vulnerabilities and permissive MIT licensing remove barriers to adoption.

Install

meshioplusplus on PyPI

pip

pip install meshioplusplus

uv

uv add meshioplusplus

poetry

poetry add meshioplusplus

Installing meshioplusplus

Before you install

Medium install friction due to compiled C++20 bindings, but pre-built wheels cover Python 3.9–3.12 on macOS (arm64, x86_64), Linux (aarch64, x86_64), and Windows (amd64). Active maintenance with a release 8 days ago.

License in practice

MIT license (permissive) allows commercial and private use with attribution. No restrictions on modification or redistribution.

Quickstart

pip install meshioplusplus

import meshioplusplus as mio

mesh = mio.read('input.msh')
mio.write('output.vtk', mesh)

Requires Python 3.8 or later. Optional dependencies (HDF5, netCDF, Kokkos) unlock format acceleration but are not required for basic I/O.

Verify before relying

  • Performance characteristics and memory overhead compared to direct C++ usage or other mesh libraries.
  • Completeness of pure-Python fallback implementations for all supported formats.
  • Stability and API compatibility guarantees across minor versions.

Package facts

License The MIT License (MIT) Copyright (c) 2015-2021 Nico Schlömer et al. Copyright (c) 2026 Vicente Mataix Ferrándiz Permission is hereby granted, free of charge, to any person obtaining a copy of this… (full text in the JSON record) (permissive)
Python support supports the current Python release (>=3.8)
Install friction medium — platform-specific wheel
Runtime dependencies 3 — importlib_metadata, numpy, rich
Maintenance actively maintained — 8 days since the last release
Last repo commit
First released
Downloads 83,805/month — #14,046 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: meshioplusplus-10.0.0-cp310-cp310-macosx_13_0_arm64.whl; meshioplusplus-10.0.0-cp310-cp310-macosx_13_0_x86_64.whl; meshioplusplus-10.0.0-cp310-cp310-manylinux_2_34_aarch64.whl; meshioplusplus-10.0.0-cp310-cp310-manylinux_2_34_x86_64.whl; meshioplusplus-10.0.0-cp310-cp310-win_amd64.whl; meshioplusplus-10.0.0-cp311-cp311-macosx_13_0_arm64.whl; meshioplusplus-10.0.0-cp311-cp311-macosx_13_0_x86_64.whl; meshioplusplus-10.0.0-cp311-cp311-manylinux_2_34_aarch64.whl; meshioplusplus-10.0.0-cp311-cp311-manylinux_2_34_x86_64.whl; meshioplusplus-10.0.0-cp311-cp311-win_amd64.whl; meshioplusplus-10.0.0-cp312-cp312-macosx_13_0_arm64.whl; meshioplusplus-10.0.0-cp312-cp312-macosx_13_0_x86_64.whl; meshioplusplus-10.0.0-cp312-cp312-manylinux_2_34_aarch64.whl; meshioplusplus-10.0.0-cp312-cp312-manylinux_2_34_x86_64.whl; meshioplusplus-10.0.0-cp312-cp312-win_amd64.whl; meshioplusplus-10.0.0-cp39-cp39-macosx_13_0_arm64.whl; meshioplusplus-10.0.0-cp39-cp39-macosx_13_0_x86_64.whl; meshioplusplus-10.0.0-cp39-cp39-manylinux_2_34_aarch64.whl; meshioplusplus-10.0.0-cp39-cp39-manylinux_2_34_x86_64.whl; meshioplusplus-10.0.0-cp39-cp39-win_amd64.whl

Keywords: mesh, file formats, scientific, engineering, fem, finite elements

Development Status :: 5 - Production/StableIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Scientific/EngineeringTopic :: Utilities

Tags

mesh file format conversionread write mesh filesSTL VTK Gmsh I/Ounstructured mesh I/Omesh format translatorfinite element mesh toolsmesh file reader writer
mesh-ioscientific-computingfile-format-conversion

More Scientific/Engineering packages