Deborah R. Fowler
Python
in Houdini Examples - Python Script
Updated May 9 2013
Updated March 30 2019
Phyllotactic Pattern - described here and seen executed in mel etc. is given here as a "python in Houdini" (see other methods):
- python script - final
version with top level controls (uses the addSpareParmTuple
command which was made clearer thanks to an odforce posting).
These files have been updated since the geo node no longer
defaults to having a file node.
- Hip
file final result here
- or if you'd prefer to import and run (instructions are in
the top block comment with instructions on how to run), final.py file
- Hip
file final result here
To run a python script in Houdini as per the
top block comment in the above code:
The above will run the file as long as the hip and python source code are in the same directory. The result appears as:
You can also store the python code with the hipnc in the Python Source Window