Skip to content

Makes interacting with nodes in Houdini with Python easier

Notifications You must be signed in to change notification settings

LouisDunlevy/homport

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homport

Homport makes it easier to interact with Houdini nodes in Python. Run it during interactive sessions to quickly wire up nodes, see the values of parameters, and more.

Usage

Connect nodes quickly:

# connects output of 'node' to first input of 'node2'
node >> node2
# connects output of 'node' to the second input of 'node2'
node >> node2.input_two

Deal with parameters more easily:

# set parameters using assignment
node.tx = 500
# get values without calling eval()
print node.tx

Installation

You can use pip to install: pip install -e git+git://github.com/schworer/homport.git@0.2#egg=homport

If you don't want to use pip, clone the repo and add it to your path manually: git clone git://github.com/schworer/homport homport/

Then, put this in your 123.py or 456.py Houdini startup script: import homport homport.bootstrap() or, import it directly in the Python pane within Houdini.

I like unit tests, run them like so:

hython test_homport.py

About

Makes interacting with nodes in Houdini with Python easier

Resources

Stars

Watchers

Forks

Packages

No packages published