Skip to main content

menpo

BSD License Documentation

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

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.1
File Size Uploaded Provenance Actions
menpo3d-0.9.1.tar.gz 3.7 MB With provenance Details for menpo3d-0.9.1.tar.gz

Built distribution (wheel)

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

Total release size: 7.4 MB

Release files / menpo3d-0.9.1.tar.gz

Download URL menpo3d-0.9.1.tar.gz
Size 3.7 MB
Tags Source
SHA-256 checksum
How to use checksums
3a1cc6deac6d635a8110aff0c5b374f36c308d34fc3ff7c5d29150bc321ca84e
BLAKE2b-256 checksum
How to use checksums
4f764efe2332a788ced55dcfaf914b0688868e9cf826e39bc63cd36dd28b37c2
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.1-py3-none-any.whl

Download URL menpo3d-0.9.1-py3-none-any.whl
Size 3.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
4f5336f55aa864d5767baf479623aa304cdf5c7d874329f451976375e3e674cf
BLAKE2b-256 checksum
How to use checksums
02d6ff1a3edcc5e7006722151dba12995d26fb59939c08c12111f95b40a2eb30
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.1

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