Skip to main content

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.

Metadata

Release files for lace 4.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lace 4.0.0
File Size Uploaded
lace-4.0.0.tar.gz 88.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lace 4.0.0
File Interpreter ABI Platform
lace-4.0.0-cp37-cp37m-macosx_10_14_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.14+ x86-64 Details

Total release size: 215.2 kB

Release files / lace-4.0.0.tar.gz

Download URL lace-4.0.0.tar.gz
Size 88.2 kB
Tags Source
SHA-256 checksum
How to use checksums
12bf4b64c32bf0948dc9c710d44aa47a3503b0201b2cd59afd427efaa1b3f072
BLAKE2b-256 checksum
How to use checksums
22b1e04250232d5074084fd1196aca8ad8b84de75853124fecf8818c337409b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.9.1 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/2.7.16

Release files / lace-4.0.0-cp37-cp37m-macosx_10_14_x86_64.whl

Download URL lace-4.0.0-cp37-cp37m-macosx_10_14_x86_64.whl
Size 126.9 kB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
d72367342bb1bb8e721a7b89a7f97751a366979ed3099075f931c9f88765ba6a
BLAKE2b-256 checksum
How to use checksums
fe23b7bbcbb7de7f4e13921607db8fe18053c29299db20ebb5b09d420aae926e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.9.1 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/2.7.16

Release history Release notifications | RSS feed

This release

4.0.0 This release

2 release files

3.1.0

3 release files

3.0.0

1 release file

2.1.5

1 release file

2.1.4

1 release file

2.1.3

1 release file

1.1.8

1 release file

1.1.7

2 release files

1.1.6

2 release files

1.1.5

1 release file

1.1.4

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page