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 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.

Project details


Download files

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

Files for lace, version 4.0.0
Filename, size File type Python version Upload date Hashes
Filename, size lace-4.0.0-cp37-cp37m-macosx_10_14_x86_64.whl (126.9 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size lace-4.0.0.tar.gz (88.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page