Skip to content
/ gumby Public

Stretch polygonal meshes in segments along an axis

License

Notifications You must be signed in to change notification settings

lace/gumby

Repository files navigation

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.