What's the benefit in scripting with Python?

   5548   6   3
User Avatar
Member
57 posts
Joined: Feb. 2006
Offline
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.
User Avatar
Member
401 posts
Joined:
Offline
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.
this is not a science fair.
User Avatar
Member
40 posts
Joined: Jan. 2008
Offline
is there a good tutorial you can recommend on how to use python with houdini ? thanks.
User Avatar
Member
1390 posts
Joined: July 2005
Offline
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 .
User Avatar
Member
401 posts
Joined:
Offline
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
this is not a science fair.
User Avatar
Member
483 posts
Joined: July 2005
Offline
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.
User Avatar
Member
57 posts
Joined: Feb. 2006
Offline
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.
  • Quick Links