Skip to content

lace/hobart

Repository files navigation

hobart

version python versions license coverage build code style

Obtain cross sections of polygonal meshes.

This library is optimized for cloud computation, however it depends on both NumPy and the SciPy k-d tree. It's designed for use with lacecore.

Currently works only with triangular meshes.

Prior to version 1.0, this was a library for rendering mesh cross sections to SVG. That library has been renamed to hobart-svg.

Development

First, install Poetry.

After cloning the repo, run ./bootstrap.zsh to initialize a virtual environment with the project's dependencies.

Subsequently, run ./dev.py install to update the dependencies.

Acknowledgements

This library was based on code in Lace, which was refactored from legacy code at Body Labs by Alex Weiss, with portions by Eric Rachlin, Paul Melnikow, Victor Alvarez, and others. Later 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.

License

The project is licensed under the two-clause BSD license.