menpo3d - Tools for manipulating meshes
A library inside the Menpo Project that makes manipulating 3D mesh data a simple task. In particular, this project provides the ability to import, visualize and rasterize 3D meshes. Although 3D meshes can be created within the main Menpo project, this package adds the real functionality for working with 3D data.
Installation
pip install menpo3d
conda install -c conda-forge menpo3d
menpo3d.correspond.solve_pnp needs OpenCV (pip install "menpo3d[opencv]"). Importing and
exporting meshes, closest point queries, rasterization and offline rendering need nothing extra.
The interactive viewers need one of these extras:
| Extra | Gives you |
|---|---|
menpo3d[viz] |
everything below, including H.264 |
menpo3d[viz_notebook] |
the notebook widget and the browser window (JPEG frames) |
menpo3d[viz_h264] |
H.264 video for the streamed viewers |
menpo3d[viz_native_window] |
the native window |
Visualizing 3D objects
menpo3d draws 3D objects with a moderngl renderer (OpenGL, no Qt or Mayavi). mesh.view() and the
other view methods work in a Jupyter notebook as an interactive widget, in a native window, in a
browser window (over SSH too) and offline to a PNG. In a notebook, with menpo3d[viz_notebook] installed, there is nothing else to set up (no %matplotlib magic):
import menpo3d
mesh = menpo3d.io.import_builtin_asset("james.obj")
mesh.view() # drag to rotate, shift-drag to pan, wheel to zoom
renderer = mesh.view()
renderer.save_figure("james.png") # offline, needs no extra
renderer.figure.show() # a native window (or a browser window)
pose = renderer.figure.get_pose() # the camera as you left it with the mouse
See the documentation for the full viewer API.
Releasing
Releases are made from git tags: tag vX.Y.Z (a signed, annotated tag) and push it. The
Release workflow builds the wheel and the sdist and publishes them to PyPI with trusted
publishing after the pypi environment is approved; conda-forge's bot then updates the feedstock.
A manual run of the workflow with publish: testpypi is a dry run on TestPyPI.
Metadata
Release files for menpo3d 0.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| menpo3d-0.10.0.tar.gz | 3.8 MB | With provenance | Details for menpo3d-0.10.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| menpo3d-0.10.0-py3-none-any.whl | Python 3 | none | any | Details for menpo3d-0.10.0-py3-none-any.whl |
Total release size: 7.5 MB
Release files / menpo3d-0.10.0.tar.gz
| Download URL | menpo3d-0.10.0.tar.gz |
|---|---|
| Size | 3.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2afa594ca0800f2771891ddc87ca15bd1bfde23beb2e206b2b5eb7ab07fefe73
|
|
BLAKE2b-256 checksum How to use checksums |
743a0f91208af35b33c626badbf7e4203469882bc235531f261afb3c60283f59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.
Transparency logRelease files / menpo3d-0.10.0-py3-none-any.whl
| Download URL | menpo3d-0.10.0-py3-none-any.whl |
|---|---|
| Size | 3.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
282103102c3a42e76209ef224b69dc7842c237bfcc103a54bbaea80970997cec
|
|
BLAKE2b-256 checksum How to use checksums |
001deaf7f1becf8841c0c51be0c749c7d0e3cbf5a6c0798c5de56764396ef459
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.
Transparency logSecurity for menpo3d 0.10.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for menpo3d-0.10.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.