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


Keywords
3d, geometry, mesh
License
MIT
Install
pip install metabolace==2.1.2

Documentation

metabolace

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.

Installation

Install dependencies

Mac OS:

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

Linux:

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

Docker:

docker build .

Install the library

pip install metabolace

And import it just like the upstream library:

from lace.mesh import Mesh

Development

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

Contribute

Pull requests welcome!

Support

If you are having issues, please let us know.

Acknowledgements

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.

License

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.