PawPatrol 1.8.2 for Grasshopper (Rhino 8 for Windows)
by Lawson Spencer

PawPatrol adds one component, Solver Guard (Params > Util), that keeps a
Grasshopper definition from freezing Rhino.

INSTALL
1. Close Rhino.
2. Copy PawPatrol.gha into your Grasshopper Libraries folder
   (in Grasshopper: File > Special Folders > Components Folder).
3. Right-click PawPatrol.gha > Properties > check "Unblock" if it is shown > OK.
4. Start Rhino.
If you had an older PawPatrol or SolverGuard.gha installed, delete it first.

INPUTS
  Active (A)          Turn the guard on or off. Default: true
  Timeout (T)         Seconds a solution may run before Solver Guard steps in. Default: 60
  Disable Solver (D)  True: at the timeout, stop the solution and switch the solver off.
                      False: at the timeout, a popup asks: Stop now / Let it finish / Close Rhino.
                      Default: true
  Max Preview (M)     Most preview geometry items one component may show. 0 = off. Default: 50,000
  Show Progress (P)   Progress window with an estimated time left for solves over 5 s. Default: true

OUTPUTS
  Status (S), Last Duration (Dt), Abort Count (N)

WHAT IT DOES
- Timeout: stops the solution (or asks first), presses Escape while Rhino is in
  front, and if a stopped solution stays stuck, saves a rescue copy of the
  definition (name_rescue_<time>.gh) and offers to close Rhino.
- Preview limit: turns off previews with more than Max Preview geometry items
  before Rhino tries to draw them. Turn preview back on from the component's
  right-click menu.
- Progress and estimates: learns from your runs (data size, number inputs such
  as iteration counts, CPU and memory load, and a machine speed score) and
  shows the estimated time left with a likelihood from highly unlikely to
  highly likely. Components that run once per item also show "iteration X of Y".
- Growth warning: flags outputs that keep growing by 1.5x or more per run.
- Log: PawPatrol_log.txt and run history (PawPatrol_history folder) next to the plugin.

LIMITS
- A component stuck in its own calculation that never checks for Escape can
  only be stopped by closing Rhino.
- The preview limit counts items, not their size.

PawPatrol is not affiliated with or endorsed by the PAW Patrol franchise or Spin Master.
