Skip to main content

A Python interface to MeshLab

Project description

PyMeshLab

Linux MacOS Windows

Documentation Status

PyMeshLab is a Python library that interfaces to MeshLab, the popular open source application for editing and processing large 3D triangle meshes. Python bindings are generated using pybind11.

Documentation

You can find the official documentation here.

Install PyMeshLab

You can easily install PyMeshLab using pip:

pip3 install git+https://github.com/cnr-isti-vclab/PyMeshLab

Note for MacOS

If you get the error urllib.error.URLError: SSL: CERTIFICATE_VERIFY_FAILED, look for the file Certificates.command inside your python directory and double click on it!

Run PyMeshLab

After installing PyMeshLab through pip:

python
>>> import pymeshlab as ml
>>> ms = ml.MeshSet()

You can load, save meshes and apply MeshLab filters:

ms.load_new_mesh('airplane.obj')
ms.apply_filter('convex_hull')
ms.save_current_mesh('convex_hull.ply')

And apply filters with your parameters:

ms.apply_filter('noisy_isosurface', resolution=128)

You can find all the names and parameters of the filters in the List of Filters page of the documentaiton.

To run the tests:

pip3 install pytest
pytest --pyargs pymeshlab

Build PyMeshLab

See the src folder that contains the instructions to build PyMeshLab.

License

The PyMeshlab source is released under the GPL License.

Copyright

   PyMeshLab
   All rights reserved.

   VCGLib  http://www.vcglib.net                                     o o
   Visual and Computer Graphics Library                            o     o
                                                                  _   O  _
   Paolo Cignoni                                                    \/)\/
   Visual Computing Lab  http://vcg.isti.cnr.it                    /\/|
   ISTI - Italian National Research Council                           |
   Copyright(C) 2020                                                  \

Contacts

  • Paolo Cignoni (paolo.cignoni (at) isti.cnr.it)
  • Alessandro Muntoni (alessandro.muntoni (at) isti.cnr.it)

Feedback

For documented and repeatable bugs, feature requests, etc., please use the GitHub issues.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

pymeshlab-0.1.7-cp39-cp39-win_amd64.whl (28.2 MB view hashes)

Uploaded CPython 3.9 Windows x86-64

pymeshlab-0.1.7-cp39-cp39-manylinux1_x86_64.whl (42.3 MB view hashes)

Uploaded CPython 3.9

pymeshlab-0.1.7-cp39-cp39-macosx_10_11_x86_64.whl (47.5 MB view hashes)

Uploaded CPython 3.9 macOS 10.11+ x86-64

pymeshlab-0.1.7-cp38-cp38-win_amd64.whl (28.2 MB view hashes)

Uploaded CPython 3.8 Windows x86-64

pymeshlab-0.1.7-cp38-cp38-manylinux1_x86_64.whl (42.2 MB view hashes)

Uploaded CPython 3.8

pymeshlab-0.1.7-cp38-cp38-macosx_10_11_x86_64.whl (47.5 MB view hashes)

Uploaded CPython 3.8 macOS 10.11+ x86-64

pymeshlab-0.1.7-cp37-cp37m-win_amd64.whl (28.2 MB view hashes)

Uploaded CPython 3.7m Windows x86-64

pymeshlab-0.1.7-cp37-cp37m-manylinux1_x86_64.whl (42.2 MB view hashes)

Uploaded CPython 3.7m

pymeshlab-0.1.7-cp37-cp37m-macosx_10_11_x86_64.whl (47.5 MB view hashes)

Uploaded CPython 3.7m macOS 10.11+ x86-64

pymeshlab-0.1.7-cp36-cp36m-win_amd64.whl (28.2 MB view hashes)

Uploaded CPython 3.6m Windows x86-64

pymeshlab-0.1.7-cp36-cp36m-manylinux1_x86_64.whl (42.1 MB view hashes)

Uploaded CPython 3.6m

pymeshlab-0.1.7-cp36-cp36m-macosx_10_11_x86_64.whl (42.6 MB view hashes)

Uploaded CPython 3.6m macOS 10.11+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page