pytetwild
Python wrapper of fTetWild
Decision gist · record as of 2026-08-14
Yes, if you need tetrahedral mesh generation and can work with Python 3.10–3.14. The copyleft license (MPL 2.0) requires disclosure of modifications; active maintenance and pre-built wheels lower friction. No known vulnerabilities. Suitable for research, simulation, and computational geometry workflows where mesh quality and control matter.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10–3.14; compiled wheels provided for common platforms (Windows, Linux, macOS on x86_64 and ARM64).
- Medium install friction due to compiled C++ components; pre-built wheels available for Python 3.10–3.14 on Windows, Linux, and macOS reduce friction significantly.
- Active maintenance as of 89 days since last release.
License · maintenance · safety
copyleft license (copyleft) — Licensed under Mozilla Public License v2.0 (copyleft); you must disclose source code modifications and distribute under the same license if you redistribute the package or derivative works.
last release 2026-05-17 (89 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 114,540 downloads/mo, #12,290 on PyPI
Alternatives
Verify before relying
pip install pytetwild
import numpy as np
import pytetwild
vertices = np.array([[0, 0, 0], [1, 0, 0], [1, 1, 0], [0, 1, 0]])
faces = np.array([[0, 1, 2, 3]])
v_out, tetra = pytetwild.tetrahedralize(vertices, faces)- Performance characteristics and scalability limits for large meshes are not documented in the fact sheet.
- Quality metrics or comparison benchmarks against other tetrahedral meshing tools are not provided.
- Whether the optional pyvista extra dependency is required for production use or only for convenience.
What it is and what it does
pytetwild is a Python wrapper around fTetWild, a C++ library for generating tetrahedral meshes from surface geometry. It takes a surface mesh—defined either as raw vertex and face arrays or as a PyVista PolyData object—and produces a volumetric tetrahedral mesh suitable for finite-element analysis, simulation, or other computational geometry tasks.
The library exposes two main interfaces: `tetrahedralize()` for raw numpy arrays and `tetrahedralize_pv()` for PyVista meshes. It offers control over mesh density via edge-length parameters, mesh quality via optimization settings, and computational efficiency via thread count. Pre-built wheels for Python 3.10–3.14 on major platforms make installation straightforward; the only runtime dependency is numpy.
Use it for
- Generate volumetric tetrahedral meshes from CAD surface models for finite-element simulation.
- Convert 3D scan data or point-cloud-derived surfaces into analysis-ready tetrahedral grids.
- Prepare mesh inputs for computational fluid dynamics (CFD) or structural analysis solvers.
- Batch-process surface geometries into tetrahedral form for machine learning training data.
- Visualize and inspect internal mesh structure of solid objects in PyVista.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need tetrahedral mesh generation and can work with Python 3.10–3.14.
The copyleft license (MPL 2.0) requires disclosure of modifications; active maintenance and pre-built wheels lower friction. No known vulnerabilities. Suitable for research, simulation, and computational geometry workflows where mesh quality and control matter.
Install
pytetwild on PyPI
Before you install
Medium install friction due to compiled C++ components; pre-built wheels available for Python 3.10–3.14 on Windows, Linux, and macOS reduce friction significantly. Active maintenance as of 89 days since last release.
Requires Python 3.10–3.14; compiled wheels provided for common platforms (Windows, Linux, macOS on x86_64 and ARM64).
License in practice
Licensed under Mozilla Public License v2.0 (copyleft); you must disclose source code modifications and distribute under the same license if you redistribute the package or derivative works.
Quickstart
pip install pytetwild
import numpy as np
import pytetwild
vertices = np.array([[0, 0, 0], [1, 0, 0], [1, 1, 0], [0, 1, 0]])
faces = np.array([[0, 1, 2, 3]])
v_out, tetra = pytetwild.tetrahedralize(vertices, faces)
Verify before relying
- Performance characteristics and scalability limits for large meshes are not documented in the fact sheet.
- Quality metrics or comparison benchmarks against other tetrahedral meshing tools are not provided.
- Whether the optional pyvista extra dependency is required for production use or only for convenience.
Package facts
| License | copyleft license copyleft |
| Python support | Supports the current Python release <3.15,>=3.10 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 1 packagenumpy |
| Maintenance | Actively maintained 89 days since the last release |
| First released | |
| Downloads | 114,540 / month, #12,290 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaIntended Audience :: Science/ResearchLicense :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)Operating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIXProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/Engineering :: Information Analysis |
Evidence: pytetwild-0.3.0-cp310-cp310-macosx_15_0_arm64.whl; pytetwild-0.3.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; pytetwild-0.3.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; pytetwild-0.3.0-cp310-cp310-win_amd64.whl; pytetwild-0.3.0-cp311-cp311-macosx_15_0_arm64.whl; pytetwild-0.3.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; pytetwild-0.3.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; pytetwild-0.3.0-cp311-cp311-win_amd64.whl; pytetwild-0.3.0-cp312-abi3-macosx_15_0_arm64.whl; pytetwild-0.3.0-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; pytetwild-0.3.0-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; pytetwild-0.3.0-cp312-abi3-win_amd64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “tetrahedral mesh generation”
- pytetwildpytetwild converts surface meshes into tetrahedral volume meshes…
- tetgentetgen wraps the TetGen C++ library to generate tetrahedral meshes…
- gmshGmsh is a three-dimensional finite element mesh generator that wraps…
Give your agent the search over MCP, or paste the wish link into any chat.
More Information Analysis packages
A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.
pyarrow provides Python bindings to Apache Arrow's C++ libraries for efficient columnar data processing, serialization, and interoperability with pandas, NumPy, and other Python ecosystem tools.
NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.
Snowpark Python provides APIs to query and process data directly in Snowflake without moving data to your local system, with support for both native Snowpark and pandas-compatible interfaces.
Install it if you use Snowflake and want to process data without moving it to your application layer.
See also fast-simplification · tetgen · pyvista · vhacdx · manifold3d · pymeshfix · numpy-stl · pysplashsurf · xatlas · PyGEL3D