Skip to main content

Active fork of lace, the Body Labs-developed polygonal mesh library

Project description

pip install version python versions build status last commit open pull requests

This is an active fork of lace, the Body Labs-developed polygonal mesh library.

The fork’s goals are ambitious:

  • Keep the library working in current versions of Python and other tools.

  • Make bug fixes.

  • Provide API stability and backward compatibility with the upstream version.

  • Expand functionality to fully support quad meshes, and additional analysis and manipulation functionality where appropriate.

  • Respond to community contributions.


Install dependencies

Mac OS:

brew update && brew install boost
pip install numpy==1.13.1
pip install lace


apt-get install -y --no-install-recommends libsuitesparse-dev libboost-dev
pip install numpy==1.13.1
pip install lace


docker build .

Install the library

pip install metabolace

And import it just like the upstream library:

from lace.mesh import Mesh


pip install -r requirements_dev.txt
pip install -e .
rake test
rake lint


Pull requests welcome!


If you are having issues, please let us know.


This library was refactored from legacy code at Body Labs by Alex Weiss, with portions by Eric Rachlin, Paul Melnikow, Victor Alvarez, and others. It was extracted from the Body Labs codebase and open-sourced by Guillaume Marceau.


The project is licensed under the two-clause BSD license.

This project uses the RPly library to read and write PLY files, by Diego Nehab, IMPA, distributed under the MIT License. *

Project details

Download files

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

Source Distribution

metabolace-2.1.2.tar.gz (90.2 kB view hashes)

Uploaded source

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