gumby

Stretch polygonal meshes in segments along an axis


Keywords
3d, 3d-modeling, lace, obj, polygonal-meshes
License
MIT
Install
pip install gumby==0.4.0

Documentation

gumby

version license build code style

Stretch polygonal meshes in segments along an axis.

Installation

pip install gumby

Usage

Create a recipe:

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:

python3 -m gumby.cli run recipe.yml stretched.obj

Contribute

Pull requests welcome!

License

The project is licensed under the MIT license.