Houdini, Python, Scripting

ns_Version Houdini – Update .13 for H16


ns_Version 0.13 – Update – 19.Apr. 2017

Fixes/Additions to Version 0.12:

– add HipSelector
“D”-Buttons: save as Default values (user_settings.xml)
“Project/Folders” & “All”-checked: entry point to searching for .hip/.hipnc/.hiplc -files (incl. sub-directories)
“All”-unchecked: entry point ist defined by the additional line input. Press “Enter” to resolve changes in the line input.
(This function is for project databases with a huge amount of files to walk through)
“.hip Folders”: listed all parent-folder where a .hip* files are founded
“O”-Button: open the last scene saved by the user (user_settings.xml).

– Settings: add “OS” checker next to the Operator field.
– Settings: add “Save+” button for incremental saving.
– new user_settings.xml
– fixed some broken functions
– ns_filecache HDA

 

Place the Workgroup-folder (Workgroup_Houdini_H16_v013.zip)  where you want and add the path to your houdini.env.

houdini.env example:

HSITE = "L:/Workgroups/Workgroup_Houdini_H16"
HOUDINI_PATH ="$HSITE;&"
HOUDINI_OTLSCAN_PATH = "$HSITE/otls;$HFS/houdini/otls;&"
HOUDINI_TOOLBAR_PATH = "$HSITE/toolbar;$HFS/houdini/toolbar;&"

 

ns_Version 0.12 – Update – 28.Feb. 2017

Fixes/Additions to Version 0.11:

– replace pyside with pyside2 for H16 support

Place the Workgroup-folder (Workgroup_Houdini_H16_v012.zip)  where you want and add the path to your houdini.env.
houdini.env example:

HSITE = "L:/Workgroups/Workgroup_Houdini_H16"
HOUDINI_PATH ="$HSITE;&"
HOUDINI_OTLSCAN_PATH = "$HSITE/otls;$HFS/houdini/otls;&"
HOUDINI_TOOLBAR_PATH = "$HSITE/toolbar;$HFS/houdini/toolbar;&"

 

ns_Version 0.11 – Update – 05.Jan. 2017

Fixes/Additions to Version 0.10:

– replace the shelf-tools with a topdown menu
– fix/uses the correct hipfile type accordingly to your licence/version
(.hip, .hiplc, .hipnc)
– switch to a “Workgroup” solution
– add a global render variable & slider ($NS_RENDER_VERSION)
– add a automatic XML export
– add “Set Project” functionality (via XML import)
– add “Open USER Location” functionality

Place the Workgroup-folder (Workgroup_Houdini_v011.zip)  where you want and add the path to your houdini.env.
houdini.env example:

HSITE = "L:/Workgroups/Workgroup_Houdini"
HOUDINI_PATH ="$HSITE;&"
HOUDINI_OTLSCAN_PATH = "$HSITE/otls;$HFS/houdini/otls;&"
HOUDINI_TOOLBAR_PATH = "$HSITE/toolbar;$HFS/houdini/toolbar;&"

 

 

ns_Version 0.10

Here is my ns_Version script i developed for a while. It was originally for Softimage, now in a simple first version for Houdini. Its written with Python and uses PySide.
You can use it on-the-fly without installing anything. Houdini has all you need.

The following pictures shows how it works:

1.Create a folder structure, here with my ns_FolderMaker.(This is just my workflow, use your own structure you prefer)

nsversionhou01

After you have a place to work with, open a blank Houdini.

2.Shelf-Tools are here located.

nsversionhou02

 

3.Create Project: define where you want to place your Houdini project. (You can leave the “Project Name”-Input blank, if you want)

nsversionhou03

 

4.ns_Version creates this folders and some variables. The script also saved a first init.hip file which is your starting point. The hip folder is essential, here will landing all your .hip files, generated by the script. (Folder structure, as before, is my personal preference. You can use your own by editing the script)

All folders have they own variable. So i can just type, for example in a cache-node $SIM/Cache.$F4.bgeo. or for a Alembic $ABC/Mesh_Out.abc

nsversionhou04

 

5.Settings: really simple to understand, the .hip file is solved by the token input. The blue pathes/variables($ASSETS/$TEXTURES)  are not essential, its just my workflow. The reason is, i dont store final assets and textures in the houdini database.

nsversionhou05

 

6.Settings: example to add another token and the .hip solve.

nsversionhou06

 

7.Settings: you can add subfolders as many as you want. ns_Version will create them for you.

nsversionhou07

 

7.Additional Functions: Project Location just opend your file explorer with the houdini project (at the moment Windows only, python has no platform independent function to do that).

nsversionhou08

 

8.Additional Functions: Save, Save(+), Open Last Scene. Save(+) most important :-). +1 to the version number($NS_VERSION) and save the .hip file.

nsversionhou09b

Note: the Add_Project function is not implemented yet in this version.

9.Custom File-Cache: here a example of my custom file-cache node .hda, which i stored in my houdini workgroup and always use instead of the standart file-cache node.

ns_filecache