Skip to main content

Polygonal mesh library developed at Body Labs

Project description

lace

version python versions version build status

Polygonal mesh library developed at Body Labs.

The library is in 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.

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

lace-2.1.4.tar.gz (89.5 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