Skip to main content

menpo

BSD License

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]").

Visualizing 3D objects

menpo3d adds support for viewing 3D objects through Mayavi, which is based on VTK. One of the main reasons menpo3d is a seperate project to the menpo core library is to isolate the more complex dependencies that this brings to the project. 3D visualization is not yet supported in the browser, so we rely on platform-specific viewing mechanisms like QT or WX.

In order to view 3D items you will need to first use the %matplotlib qt IPython magic command to set up QT for rendering (you do this instead of %matplotlib inline which is what is needed for rendering directly in Jupyter/Ipython notebooks). As a complete example, to view a mesh in IPython you would run something like:

import menpo3d

mesh = menpo3d.io.import_builtin_asset("james.obj")
%matplotlib qt
mesh.view()

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.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for menpo3d 0.9.0
File Size Uploaded Provenance Actions
menpo3d-0.9.0.tar.gz 3.7 MB With provenance Details for menpo3d-0.9.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for menpo3d 0.9.0
File Interpreter ABI Platform Actions
menpo3d-0.9.0-py3-none-any.whl Python 3 none any Details for menpo3d-0.9.0-py3-none-any.whl

Total release size: 7.4 MB

Release files / menpo3d-0.9.0.tar.gz

Download URL menpo3d-0.9.0.tar.gz
Size 3.7 MB
Tags Source
SHA-256 checksum
How to use checksums
df5386c4714490b401f1d6591273b716e9f9fb09bdd8de728b54dc7a79783010
BLAKE2b-256 checksum
How to use checksums
709b2498e4031041fae1cf0a9b0fe78f45e3afb867b1092c2b9ad8e61bb9217f
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 19, 2026.

Transparency log

Release files / menpo3d-0.9.0-py3-none-any.whl

Download URL menpo3d-0.9.0-py3-none-any.whl
Size 3.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
0b0723a7e9c25401b0f82fd1ed4a498162a390facd81f57576b31f123c78965c
BLAKE2b-256 checksum
How to use checksums
5c1d14be02b1a68c58d939484b829d79ddc5759820b8c7612def27f2d62f499d
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 19, 2026.

Transparency log

Security for menpo3d 0.9.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.

Select from 2 files

Attestation for menpo3d-0.9.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 19, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page