Watchdog for grasshopper 🐕🦺
Have you ever had Grasshopper freeze on you, forcing a complete restart of Rhino + GH? We've all been there. It's a frustration every user has faced countless times over the years. It breaks your logic-building flow. It leads to lost work in Rhino or GH. Sometimes, it's just an accidental wrong connection, or forgetting to manage a Data Tree structure, that triggers a massive computation, instantly locking up the entire calculation chain. Usually, when these accidental calculations happen, waiting is futile. The only option is to give up your progress, "End Task", and restart. Sometimes, our patience crashes right along with GH. 🤯 🚀 Introducing Watchdog for Grasshopper (Open-source) Think of it as a "Circuit Breaker" for your parametric definitions. It runs quietly in the background, monitoring your solution time. If a calculation exceeds your set limit (e.g., 5 seconds): It forcibly cuts the power. It stops the calculation loop. It gives you control back to the canvas. How to get it: You can find it on Food4Rhino, search "Watchdog" Or type PackageManager in Rhino 7/8. Install & Enjoy safety! Feel free to fork the repo, submit a PR, or just drop a ⭐️ if you find it useful. https://github.com/Y-Peng-Dev/Watchdog https://www.food4rhino.com/en/app/watchdog?lang=en Note: Although certain atomic operations (e.g., complex Boolean unions) cannot be interrupted mid-process, Watchdog effectively prevents the data from propagating downstream after the timeout.