DESCRIPTION

A serie of python scripts which manage node(s) comment and add documentation to comment functionality.

TESTED VERSION/S: HOUDINI 16/16.5

DESCRIPTION:


I installed Houdini quite a week ago and started to read documentation, watching tutorials and studying shared projects but the biggest problem I faced was to understand every node on a project how it works, I'm a programming and game developing teacher so I felt this deficiency in Houdini and passed a week in my spare time developing scripts to help me smooth Houdini its learning curve.

I started when I discovered a user has to select proper menu voice or right click on node, select help voice/button and wait for Houdini internal browser to load the help page, the rest of scripts were an evolution of this meditation.

From that I started digging into python documentation and reverse engineering all the scripts inside the Houdini /scripts and libraries folders (it was my forth time in 20 year I use this language so I spent a % of time learning the “poor” syntax of Python and its limits so code is far from optimal).

These scripts simplify this operations letting user:
  • automatically/manually populate node/s comment with node headline help
  • manage space between nodes with auto layout to make area not too dense when using comments
  • auto translate comments to any language
  • open help page automatically on node selection.

NOTES:
Scripts works when selecting a single node and with multiple nodes
Some nodes don't have headline or the whole documentation file.
Script should work on every OS due to OS path separator code, if fails fix/report please.
Scripts are separated to make them simpler to study and understand.

RIGHT MOUSE BUTTON MENU VOICES ON NODE/S:

  • Use help as comment: populate node/selected nodes comment with online documentation headline
  • Use help as comment for children: populate node/selected nodes and its/their children comment with online documentation headline
  • Display node comment: make node/selected nodes comment visible
  • Hide node comment: hides node/selected nodes comment
  • Remove node comment: removes node/selected nodes comment
  • Display children comments: make children nodes of node/selected nodes comment visible
  • Hide children comments: hides children nodes of node/selected nodes comment
  • Remove children comments: removes children nodes of node/selected nodes comment
  • Translate comment: translates comment using Google Translate service (it may take some seconds when using on multiple nodes)
  • “Layout” submenu: these options modify space between nodes to let user avoid comments overlap (if you select a single node and it has children it will lay out its children, otherwise it will layout selected nodes):
  • Lay out all increasing space: lay out increasing space between nodes (+0.5)
  • Lay out all decreasing space: lay out increasing space between nodes (-0.5)
  • Lay out all to x.y: quick layout all to fixed space value
  • “Settings” submenu: these options let change auto-tranlsate settings:
  • Enable/Disable show help on node selection: load help page when selecting or creating a new node; if a
  • browser tab is not found is added to main window.
  • Auto translate new nodes comments: translates online documentation headline comment when creating a new node. NOTE: this options delays node creation depending on your network connection while requesting comment tranlsation to Google.
  • Set auto translate languate: insert desidered language, eg: en (no translation), it, fr, es, ru etc

SOURCE:Download from Github… [github.com]