Polygonal mesh library developed at Body Labs


Keywords
3d, geometry, mesh
License
BSD-2-Clause
Install
pip install lace==5.0.0b1

Documentation

lace

version python versions version build status

Polygonal mesh library developed at Body Labs.

The library is under active maintenance, and the goals are compatible with that:

  • 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.
  • Respond to community contributions.

The eventual goal is to perform a rewrite of the loader and core mesh functionality with quad support as part of a "lace-core" project and consider how to handle the extensive mesh manipulation functions which remain.

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 lace

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. In 2018 it was forked by Paul Melnikow and published as metabolace. Thanks to a repository and package transfer from Body Labs, the fork has been merged back into the original.

Similar projects

There is an unrelated permissively licensed mesh manipulation library called Trimesh which provides some similar functionality.

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.