Ever wondered which nodes are responsible for that 600 mb+ Maya scene file?
Features
- Fast, resizable UI
- Parsing at 50 mb/sec
- Dependency-free, single-file install
- Script Editor support
- Terminal support
- Percentage of total size per node
- Color-coded node types
- Click to copy node name to clipboard
- Click to select node in Maya
- Tooltip with full node name
Roadmap
- Group by hierarchy SpaceSniffer has the ability to "zoom out" by grouping hierarchies under one large box. That would help snuff out those huge groups with thousands of offset groups and metadata stored as strings.
- More metadata Hovering takes a while since it's a tooltip. Would be good having not only a faster and more visible popup, but also the full path (rather than just the name) along with parent, number of children, number of attributes, number of connections etc. To help make the decision to kill easier
- Click to kill Modify the file directly, by removing any offending nodes you know aren't used or necessary.
- Visualise plug-ins Spot and kill viruses like Turtle on-sight, with one click
Pull-requests are welcome.
It's a single file, no dependencies.
- Download
maya_sniffer.py
- Store in
~/maya/scripts
, e.g.c:\Users\marcus\Documents\maya\scripts
- See Usage below
From the Script Editor.
import maya_sniffer
maya_sniffer.show()
From a terminal.
python maya_sniffer.py c:\path\to\scene.ma
Here's the currently coloured node types.
Color | Node Type |
---|---|
transform |
|
nurbsCurve |
|
mesh |
|
joint |
|
camera |
|
skinCluster |
|
dagPose |
|
animCurve |
Whenever I run out of diskspace, I use a free Windows utility called SpaceSniffer. 2 minutes later, I've got the space I was looking for along with a greater understanding of where space typically ends up.
I wanted something like this for Maya.
Maya Sniffer counts the number of ASCII characters used when saving each node to disk.
That's it.
It's real silly and doesn't tell you how complex or heavy your scene is at run-time. Instead, it'll give you an approximation of where size is and how to recover it.
Resizable UI
Script Editor
Standalone
Requires Python 2/3 and PySide2