sisqosnew
Jan. 28, 2008 04:03:50
There are many ani packages supporting python script.
My question is:
What's the benefit in scripting with Python in H9?
Could someone provide your experience or opinion about it to me?
Thanks.
rdg
Jan. 28, 2008 04:38:32
What's the benefit in scripting with Python in H9?
The benefit is that hscript - the *previous* scripting language - is deprecated and will not be extended to match new functions (?).
As python is supported by many applications you can use functions/libraries globally on your system. No need to implement the same stuff over and over again.
sf_dude
Jan. 28, 2008 10:59:23
is there a good tutorial you can recommend on how to use python with houdini ? thanks.
symek
Jan. 28, 2008 11:20:08
All you need to know on a beginning is in docs. Look on a page about HOM. From that it's just a matter of docstrings and classes reference - still not complete I'm afraid.
sy.
BTW I really like a doc page about HOM. I looks like a developer's nodes about his work but surprisingly it works! I simply enjoy reading it more than the official help
.
rdg
Jan. 28, 2008 11:54:35
sf_dude
is there a good tutorial you can recommend on how to use python with houdini ? thanks.
There is the “python cookbook” in the help of 9.1
What exactly do you want to script?
Here's an example how to create a PythonSOP - which I wrote some time ago:
http://www.preset.de/2007/0711/lorenz/ [preset.de]
Georg
Joe
Jan. 28, 2008 14:41:28
rdg
What's the benefit in scripting with Python in H9?
The benefit is that hscript - the *previous* scripting language - is deprecated and will not be extended to match new functions (?).
Well, that and the fact that programming/scripting in hscript is insane/painful when you try to do anything even remotely complicated, and in Python it's easy.
sisqosnew
Jan. 29, 2008 10:52:12
Georg. Thanks for your tutorial.
It looks great for me to know how Python help us to work.
I love your tutorial!!
You're amazing. Thanks.
Your discussion is really helpful.
Thank you, guys.