elovikov
I just totally missed the part that I can use hom from regular python shell and make command-line tools with hou module. That of course means that there is no point in such low level API.
Actually I found that somebody did the bindings already: https://pyhapi.readthedocs.io/en/latest/ [pyhapi.readthedocs.io] though I'm not sure how practical it can be. May be in some environment where you can't use python2.7
Hi, glad someone found my python-binding
https://github.com/maajor/pyhapi, [
github.com] basically it just
- Wrap houdini engine's C API
- Provide an object-oriented interface
About use case, I write it just because I made some HDA and doesn't want to launch houdini/maya/unity to use it, so I can process geometry with the HDA in command-line. For example, I made HDA to do rough skinning and simulation, I call with command-line to batch such processing, just like PDG but within command-line.