This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef __easing_h | |
#define __easing_h | |
/* | |
* A straightforward port of the great easing function summary at https://easings.net/ | |
* Original lib by Andrey Sitnik (Twitter: @sitnikcode) and Ivan Solovev (Twitter: @gosolivs) | |
* | |
* To install place this file inside $HOME/HoudiniX.X.XXX/vex/include/ | |
* ($HIP/vex/include and $HFS/vex/include are also possible) | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Bung this in a shelf tool. | |
#Map it to a hotkey for bonus points. | |
#Drop me a line if anything needs fixing. :) | |
import re | |
obj = hou.node("/obj") | |
selectedNodes = hou.selectedNodes() | |
networkEditor = hou.ui.paneTabOfType(hou.paneTabType.NetworkEditor) | |
#Don't do anything if nothing's selected |