--- id: gmsh version: "4.15.2" license: GPLv2+ license_treatment: copyleft maintenance: active --- # gmsh — Gmsh is a three-dimensional finite element mesh generator with built-in pre- and post-processing facilities. License: copyleft · Maintenance: active · Downloads: 397.0K/mo ## What it is and what it does Gmsh is a Python wrapper around the official Gmsh finite element mesh generator, bundling the compiled application and SDK for cross-platform use. It provides both a graphical interface (via the FLTK toolkit) and a Python API for programmatic mesh generation, making it accessible to researchers and engineers who need to create structured or unstructured meshes for finite element analysis without managing separate C++ dependencies. The package includes pre- and post-processing facilities and is intended for scientific and educational use. It ships as platform-specific wheels containing pre-built binaries, so installation is straightforward but tied to the supported architectures (macOS x86_64 and arm64, Linux x86_64, Windows x86_64). The copyleft license and binary-only distribution model mean it is best suited for open-source or academic projects rather than proprietary software. Use it for: - Generate unstructured tetrahedral meshes for finite element simulations in structural or fluid dynamics analysis - Create structured or hybrid meshes for CAD-based engineering workflows with built-in geometry preprocessing - Batch-process mesh generation in research pipelines using the Python API without launching the GUI - Prototype and visualize mesh quality before running expensive computational solvers ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Gmsh is a three-dimensional finite element mesh generator that wraps the official Gmsh application and SDK for use in Python, providing both a command-line tool and a Python API for mesh generation with pre- and post-processing. Yes, if you are working on open-source or academic finite element projects and need a mature, cross-platform mesh generator. The copyleft license and binary-only distribution make it unsuitable for proprietary software. Medium install friction is acceptable for the maturity and feature completeness it provides. ## Install pip install gmsh uv add gmsh poetry add gmsh ## Installing gmsh Before you install: Medium install friction due to platform-specific binary wheels (macOS x86_64 and arm64, Linux, Windows). Package is actively maintained with recent releases and carries Production/Stable status. License in practice: GPLv2+ copyleft license means any derivative work or modification must also be open-source under compatible terms; acceptable for research and education but requires careful review in proprietary or closed-source projects. Quickstart: pip install gmsh import gmsh gmsh.initialize() gmsh.fltk.run() gmsh.finalize() Requires a platform with a supported binary wheel (macOS 10.15+, Windows x86_64, or Linux x86_64); no pure-Python fallback. Verify before relying: - Whether the Python API is fully feature-complete relative to the C++ API or if some advanced features require direct C/C++ access - Performance characteristics and typical mesh size limits for common use cases ## Package facts - License: GPLv2+ (copyleft) - Python support: unspecified - Install friction: medium - Maintenance: active - Downloads: 397.0K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags finite element mesh generation, 3d mesh generator python, gmsh python api, fem mesh creation, cad mesh tools, mesh-generation, finite-element-method, cad [View on SkillFed](https://skillfed.io/packages/gmsh) · [View on PyPI](https://pypi.org/project/gmsh/)