Python Projects
Cache Cleanup
This python script in Houdini helps identify old caches in the project's geo folder that aren't being used by the scene anymore.
​
Features:
1. Find closest file cache
- Copy path of cache folder into the text field to reverse search the file cache associated with the folder. This lets you see what the cache actually is, as well as the cache version currently in use.
​
2. Extra Folders List
- click on the folder paths to open browse to them in a new file explorer window.
​
3. Find Current Version
- click on the "find current ver." button next to any of the listed paths to find (in the network view) the associated file cache node using a different version of the same cache. If that file cache node no longer exists, nothing will happen.
​
A simple tool to help me free up some space.
Staircase Generator
This project was made in Maya, using Python to generate the stairs. The steps animations were created entirely with expressions.
There were inputs the tool required:
1. Staircase layout
2. Tread (Single step) geometry
​
The staircase layout are a bunch of rectangles that would dictate where the stairs would be. Multiple rectangles "stair flights" are grouped to form "staircases". The order of each stair flight on the outliner determines the order in which the stair flights would animate within the staircase.
​
The python script would take the layout and calculate the number of steps each flight of stairs would need, and adjusts the height of the risers slightly to fit the exact length of the stairs.
​
The input tread geometry had its own animation system made with expressions, and the generated stairs would inherit the animation system within offsets of each other. Speed of unfolding is determined by a speed multiplier.