https://github.com/lace/entente
Polygonal meshes in vertex-wise correspondence
https://github.com/lace/entente
3d correspondence mesh polygonal-meshes
Last synced: about 1 month ago
JSON representation
Polygonal meshes in vertex-wise correspondence
- Host: GitHub
- URL: https://github.com/lace/entente
- Owner: lace
- License: mit
- Created: 2018-09-26T08:30:10.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2023-01-12T17:41:49.000Z (over 2 years ago)
- Last Synced: 2025-04-23T19:06:59.945Z (about 1 month ago)
- Topics: 3d, correspondence, mesh, polygonal-meshes
- Language: Python
- Homepage: https://entente.readthedocs.io/en/latest/
- Size: 310 KB
- Stars: 4
- Watchers: 3
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
entente
=======[][pypi]
[][pypi]
[][pypi]
[][coverage]
[][build]
[][docs build]
[][black]Library for working with [lacecore][]-style polygonal meshes which are in
vertex-wise correspondence.[pypi]: https://pypi.org/project/entente/
[coverage]: https://github.com/lace/entente/blob/main/.coveragerc
[black]: https://black.readthedocs.io/en/stable/
[lacecore]: https://github.com/metabolize/lacecore
[build]: https://circleci.com/gh/lace/entente/tree/main
[docs build]: https://entente.readthedocs.io/en/latest/Features
--------- Create a composite.
- Transfer landmarks from the surface of one mesh to the surface of another.
- Shuffle vertices.
- Restore correspondence of vertices.
- Spatial search, lightly wrapping [trimesh][].
- Complete documentation: https://entente.readthedocs.io/en/stable/Installation
------------To use the landmarker, run `pip install entente[surface_regressor]` which
installs [proximity][].To use the CLI, run `pip install entente[surface_regressor,cli]` which
also installs [tri-again][] and pyyaml.[proximity]: https://github.com/lace/proximity
[tri-again]: https://github.com/lace/tri-againUsage
-----```sh
python -m entente.cli transfer_landmarks source.obj source_landmarks.json target1.obj target2.obj ...
``````yml
base_mesh: examples/average.obj
landmarks:
- knee_left
- knee_right
examples:
- id: example01
mesh: examples/example01.obj
knee_left: [-10.0, 15.0, 4.0]
knee_right: [10.0, 14.8, 4.1]
- id: example02
mesh: examples/example02.obj
knee_left: [-11.0, 13.0, 3.5]
knee_right: [12.0, 12.8, 3.4]
``````sh
python -m entente.cli composite_landmarks recipe.yml
```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/#installation
License
-------The project is licensed under the MIT license.