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, first install libspatialindex:
brew install spatialindex
apt-get install libspatialindex-dev
Then 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.0b1.tar.gz
(14.3 kB
view details)
Built Distribution
entente-1.0.0b1-py3-none-any.whl
(26.7 kB
view details)
File details
Details for the file entente-1.0.0b1.tar.gz
.
File metadata
- Download URL: entente-1.0.0b1.tar.gz
- Upload date:
- Size: 14.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad2d0196cdfaf98b405a27d1c0f392297f84443fc34aa6d4c122d17ed3a7fbb7 |
|
MD5 | 28401f6e10a1b2f4851d09ba0dbeed1e |
|
BLAKE2b-256 | b0da37a55de8fe9dc13a3fb24e08cc5aba918c8efab8bdacd42645287c87d117 |
Provenance
File details
Details for the file entente-1.0.0b1-py3-none-any.whl
.
File metadata
- Download URL: entente-1.0.0b1-py3-none-any.whl
- Upload date:
- Size: 26.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2318b5eef71c39982b5c6d7ee8f999e19cd9e93695486e3225a0326f2b841aa5 |
|
MD5 | 6f15b267a2611d65fbd0e7954a07bb3e |
|
BLAKE2b-256 | ce582280e9188b3bb6134c6ce8b3a8d9db359160e99a940b5679f0f041ca519d |