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

Folders and files

NameName
Last commit message
Last commit date
Dec 2, 2022
Dec 2, 2022
Nov 27, 2020
Dec 14, 2022
Sep 10, 2018
Sep 10, 2018
Dec 2, 2022
Nov 7, 2018
Dec 2, 2022
Dec 14, 2022
Dec 2, 2022
Feb 10, 2023
Dec 2, 2022
Nov 27, 2020

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.