Cook Time Plot HDA

   Views 402   Replies 0   Subscribers 0
User Avatar
Member
95 posts
Joined: Feb. 2020
Offline
Here’s an HDA that lets you easily generate customizable plots of node cooks times and save them to an SVG or PNG file. You must have matplotlib installed in you Houdini python libraries in order to use it. See Paul Ambrosiussen’s tutorial on getting pip installed for Houdini if you haven’t already.

This HDA will record cook times when the “x_value” parameter changes. Typically, I use an expression like npoints("my_operator") for the X value, so I can see how cook times change with point counts. Note that a new cook time will only be collected when the X value is higher than the last.

While not comprehensive I've exposed a good number of the graph styling options and it'd be easy to add any more that you'd like.






Download them on my currently under construction blog: https://wyhinton.github.io/2025/04/05/Cook-Time-Plot-HDA/ [wyhinton.github.io]
Edited by wyhinton1 - April 7, 2025 19:15:59

Attachments:
cooktimeplot.gif (172.5 KB)
graph.png (47.4 KB)
graph_svg.svg (140.3 KB)

  • Quick Links