Work with polygonal meshes which have vertex-wise correspondence
Project description
entente
Library for working with lacecore-style polygonal meshes which have vertex-wise correspondence.
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 landmark compositor, run pip install entente[landmarker]
which
installs proximity.
Usage
python -m entente.cli transfer_landmarks source.obj source.pp target1.obj target2.obj ...
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]
python -m entente.cli composite_landmarks recipe.yml
Development
Updating the Docker build for CircleCI
- Make sure Docker is installed and running.
- Build and push the images:
./dev.py docker-build 0.2.0 # Use the next available minor release.
./dev.py docker-push 0.2.0
- Update the
image:
references in.circleci/config.yml
.
Contribute
- Issue Tracker: https://github.com/metabolize/entente/issues
- Source Code: https://github.com/metabolize/entente
Pull requests welcome!
Support
If you are having issues, please let me know.
License
The project is licensed under the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
entente-1.0.0b5.tar.gz
(14.1 kB
view hashes)
Built Distribution
entente-1.0.0b5-py3-none-any.whl
(26.6 kB
view hashes)
Close
Hashes for entente-1.0.0b5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c36e235cf9c4ab19e80dab1acb51fb116a2cd16bd48d7efa2f7bd81082398c9 |
|
MD5 | 2fdbc5d66bb9a05c4311b749764c0ac0 |
|
BLAKE2b-256 | 78ae6a8c10a93fb9bb3f91ad7e2646e723d98e976795a9f63ead75dc4bf529f8 |