https://github.com/lace/hobart
Obtain cross sections of polygonal meshes
https://github.com/lace/hobart
cross-section mesh polygonal-mesh
Last synced: 2 months ago
JSON representation
Obtain cross sections of polygonal meshes
- Host: GitHub
- URL: https://github.com/lace/hobart
- Owner: lace
- License: bsd-2-clause
- Created: 2020-02-28T21:47:40.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-09-28T16:56:15.000Z (about 2 years ago)
- Last Synced: 2025-02-02T22:47:40.218Z (8 months ago)
- Topics: cross-section, mesh, polygonal-mesh
- Language: Python
- Homepage: https://hobart.readthedocs.io/en/latest/
- Size: 219 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# hobart
[][pypi]
[][pypi]
[][pypi]
[][coverage]
[][build]
[][black]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][ckdtree]. 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][].[pypi]: https://pypi.org/project/hobart/
[coverage]: https://github.com/lace/hobart/blob/master/.coveragerc#L2
[build]: https://circleci.com/gh/lace/hobart/tree/master
[docs build]: https://hobart.readthedocs.io/en/latest/
[black]: https://black.readthedocs.io/en/stable/
[trimesh]: https://trimsh.org/
[numpy]: https://numpy.org/
[ckdtree]: https://docs.scipy.org/doc/scipy/reference/generated/scipy.spatial.cKDTree.html
[lacecore]: https://github.com/lace/lacecore
[hobart-svg]: https://github.com/lace/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.
[install poetry]: https://python-poetry.org/docs/#installatio
## 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][fork] and published as
[metabolace][fork pypi]. Thanks to a repository and package transfer from
Body Labs, the fork has been merged back into the original.[lace]: http://github.com/lace/lace
[paul melnikow]: https://github.com/paulmelnikow
[jake beard]: https://github.com/jbeard4
[alex weiss]: https://github.com/algrs
[eric rachlin]: https://github.com/eerac
[victor alvarez]: https://github.com/yangmillstheory
[guillaume marceau]: https://github.com/gmarceau
[fork]: https://github.com/metabolize/lace
[fork pypi]: https://pypi.org/project/metabolace/## License
The project is licensed under the two-clause BSD license.