https://github.com/lace/gumby
Stretch polygonal meshes in segments along an axis
https://github.com/lace/gumby
3d 3d-modeling lace obj polygonal-meshes
Last synced: about 1 year ago
JSON representation
Stretch polygonal meshes in segments along an axis
- Host: GitHub
- URL: https://github.com/lace/gumby
- Owner: lace
- License: mit
- Created: 2018-09-10T03:12:06.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2023-05-23T05:17:56.000Z (almost 3 years ago)
- Last Synced: 2024-10-10T22:51:28.240Z (over 1 year ago)
- Topics: 3d, 3d-modeling, lace, obj, polygonal-meshes
- Language: Python
- Size: 338 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
gumby
=====
[][pypi]
[][pypi]
[][build]
[][black]
Stretch polygonal meshes in segments along an axis.
[pypi]: https://pypi.org/project/gumby/
[black]: https://black.readthedocs.io/en/stable/
[build]: https://circleci.com/gh/lace/gumby/tree/master
Installation
------------
```sh
pip install gumby
```
Usage
-----
Create a recipe:
```yml
mesh: examples/vitra/vitra.obj
# For meshes with mixed arities, specify `triangulate: true`.
# triangulate: true
landmarks: examples/vitra/vitra.pp
segments:
- ['leg seam', 'knee bottom', 20]
- ['knee bottom', 'knee top', 10]
- ['knee top', 'leg top', 10]
- ['back middle', 'back top', 50]
```
Run it:
```sh
python3 -m gumby.cli run recipe.yml stretched.obj
```
Contribute
----------
- Issue Tracker: https://github.com/lace/gumby/issues
- Source Code: https://github.com/lace/gumby
Pull requests welcome!
License
-------
The project is licensed under the MIT license.