BufferReport v1.1
This location is for Registered Users Only.
Perhaps you need to login or register.
11.0, 10.5, 10.0, 9.0, 8.0, 7.1, 7.0 or later
Linux, Mac, Windows
Graphical, sortable representation of nukes buffer usage xml
I found nukes built-in Buffer Report not exactly helpful, so I created this little GUI as a weekend project. It displays nukes buffer report xml in a sortable table to help you track down nodes that cause heavy memory usage.
- Notes:
- Click on the name of the node to jump to that node in the node graph.
- The NULL row seems to refer to viewer/playback cache.
- The buffer report gui does not auto update yet (F5 to update).
- The bottom memory bar shows nukes overall memory usage.
- Bugs / Suggestions:
- Please post any bugs and suggestions here or on gitlab.
- Installation:
menu = nuke.menu('Nuke').findItem('Cache')
menu.addCommand('Buffer Report', 'from BufferReport import buffer_table;br_widget = buffer_table.BufferReportWidget();br_widget.show()')
-
- If you want the BufferReport as dockable panel also add following lines:
from nukescripts import panels
def get_buffer_report_widget():
# only import if needed and make the widget restorable from saved layout.
from BufferReport import buffer_table
br_widget = buffer_table.BufferReportWidget()
return br_widget
pane = nuke.getPaneFor('Properties.1')
panels.registerWidgetAsPanel('get_buffer_report_widget', 'Buffer Report', 'de.filmkorn.BufferReport', True).addToPane(pane)
- Usage: Open the Buffer Report from Cache > BufferReport or from the Pane Menu.
Changelog:
v1.1: Support PySide2 through Qt.py
v1.0: Initial release
Happy comping!
Comments
yet I have some issues to install it. I copied all the code from the readme, however it won't start ("No module named Buffer Report" when opened from Cache-Menu, widget is blank).
I can't have an env-var set here and don't use the .nuke folder for scripts, so I put it next to all my other Python-stuff in the network location; "import buffer_table" up front didn't help out either :/
I indeed forgot the __init__.py, but that doesn't seem to fix it.
I don't have the script in its own folder, but in my general python folder, so I just dropped the "from BufferReport" in the import as well as the nuke.addCommand commands and now it's working.
Sorry, I'm very new to Python and sometimes don't get how to debug! Thanks again, this tool will sure be helpful :)
RSS feed for comments to this post