pedohorse / hpaste

simple plain text snippet exchange for Houdini
GNU Lesser General Public License v3.0
107 stars 20 forks source link
houdini sidefx sidefx-houdini

hpaste

simple plain text snippet exchange for Houdini

for simple and fast exchange of node packs through any messenger

Hpaste works/tested for Houdini 20.0, 19.5, 19.0, 18.5, 18.0, 17.5, 17.0, 16.5, 16.0, 15.5. Should work also for 15.0 and maybe even less, to the point when Qt appeared in Houdini

HCollections should work in Houdini 20.0, 19.5, 19.0, 18.5, 18.0, 17.x, 16.x, 15.5 with both Qt4 and Qt5
Though new features like Inspector are made without Qt4 backwards compatibility, therefore they won't work in qt4 versions of houdini 17 and older

Works for both python2 and python3 builds. however there are some early 18.5 and 18.0 python3 builds that lack certain libs, but that bug has been fixed in later builds.

Note: 19.5.303 production build with python3.9 has a bug in it's version of PyCrypto, so cryptography does not work. Hope SideFX fixes it in the next build.
Note: 18.0.348 production build is known to have Qt issues, which seems to be solved starting from build 353

You can read a bit more about it in here:

Support this project (and others): https://www.patreon.com/xapkohheh

installation

Dependencies

this plugin is built to only use standard system modules and standard houdini modules.

HOWEVER in some cases (like houdini 17.5 on linux) you might run into SSL error due to certificated being out of date. In this case you should install certifi module to still properly secure your connection. This can be done as simple as pip install certifi on linux, windows or mac (details at: https://pypi.org/project/certifi/)

Super short and simple package variant (use it with houdini >17.0)

  1. Download the contents of this repository as ZIP
  2. Unzip the contents of the archive (which is automatically created by github folder hpaste-master) into your user folder (for ex C:\Users\<USER>\Documents\houdini18.5\)
    so as a result you will have C:\Users\<USER>\Documents\houdini18.5\hpaste-master
  3. Pick one file hpaste.json from there and move it into packages folder of your houdini user directory (create it if it does not exist)
    for ex. the full path will look like C:\Users\<USER>\Documents\houdini18.5\packages\hpaste.json
  4. Enjoy!

legacy variant

  1. Download the contents of this repository as ZIP
  2. Open the downloaded zip - you will see one folder hpaste-master inside it - this folder was created automatically by github
  3. Copy the contents of the folder hpaste-master it into your Houdini user folder, something like C:\Users\<USER>\Documents\houdini16.5\
    (just to be clear, you DON'T copy the folder hpaste-master itself, you copy it's contents) (also you actually don't need to copy the example folder from there)
  4. Enjoy!

a bit longer variant

  1. copy hpaste folder from python2.7libs to your local script folder
    • for example: C:\Users\<USER>\Documents\houdini16.0\python2.7libs\
      • hint: create python2.7libs folder if it doesnt exist
  2. copy contents of toolbar folder to your toolbar folder
    • for example: C:\Users\<USER>\Documents\houdini16.0\toolbar\
      • hint: create toolbar folder if it doesnt exist
  3. copy .hpaste_githubcollection into your user folder to gain access to a demo public collection straight away
  4. start Houdini !!
  5. locate the HPaste shelf in shelf list
  6. if you want fancy icons for the buttons - copy config folder content into your config
    • for example: C:\Users\<USER>\Documents\houdini16.0\config\
      • hint: create config folder if it doesnt exist
      • hint: merge icons folder with yours one if you dont have one yet
  7. You can download file HotkeyOverrides to your Houdini user folder to automatically set hotkeys to
    1. Ctrl+Alt+Shift+C for HCopyWeb
    2. Ctrl+Alt+Shift+V for HPasteWeb
    3. Shift+Tab for HCollections
      • if you want - you can assign hotkeys to copy-paste and collection commands manually with:
      • right-click on the tool button on the shelf -> Edit Tool, Hotkeys tab
      • Note! That you will not be able to use collections without a hotkey, so set it up if you plan to use them
  8. and may the force be with you

how to use:

description

Attributions

Icons in hpaste-demo-collection: