Snippets Panel

   3516   3   3
User Avatar
Staff
4200 posts
Joined: Sept. 2007
Offline
The awesome Favorite Wrangle SOP Presets [sidefx.com] thread gave me a good idea to try making a Python panel.

It's pretty simple, the gif should illustrate how it works, but here are some other tips/info:

- To create snippets from selected nodes, hold Shift when clicking the add button.
- Also, you have to right-click and Save to disk… or any changes to your snippets won't be saved (whether additions, deletions, or edits).
- They are saved to your $HIH folder (so it should work on each OS) in a snippets directory.
- When you edit a node, you can rename it
- Some Qt-related issues (I believe): pasting text sometimes gets screwy, and resizing windows doesn't redraw without refreshing

You can get it from this github repo: https://github.com/crydalch/houdini-plugins [github.com]. I installed it by cloning the repo to some place, then made a symlink placing the snippets file in the python_panel folder.

Feel free to add any requests as issues on github. I've got a few already, such as tabs, but let me know how y'all find it.

Attachments:
screencast-2015-03-31-233723.gif (139.4 KB)

I'm o.d.d.
User Avatar
Member
443 posts
Joined: Sept. 2012
Offline
Thanks for sharing.
User Avatar
Staff
4200 posts
Joined: Sept. 2007
Offline
BTW, I hadn't pushed the changes adding Shift + Click to create snippets from selected nodes. Just took care of that now.

Thanks
I'm o.d.d.
User Avatar
Member
691 posts
Joined: June 2006
Offline
Very Nice!!
Thanks for sharing!
Feel The Knowledge, Kiss The Goat!!!
http://www.linkedin.com/in/alejandroecheverry [linkedin.com]
http://vimeo.com/lordpazuzu/videos [vimeo.com]
  • Quick Links