Kevin pointing out the damage and his new photos aren't encouraging.

On first contact I thought all the damage was concentrated near the earth terminal and nearby mains filter capacitors. Not so!
I'm not familiar with the component I've guessed to be a single combined 'Rectifier and Controller Chip?'. But it appears to be heat damaged in the area circled in red. Also other heat damage, including what might be a bubbled track, in the areas circled in yellow. I think this is 'Beyond Economic Repair', ie cheaper to buy a new VFD than to diagnose and repair, even if you can get the parts.
The combined 'Rectifier and Controller Chip' shorting to earth via the heatsink would explain the damage to the board, but I don't understand what happened to the rotary switch, or how a short on the switch might have done the VFD in.
Might the root cause be the motor, perhaps a shorted winding pulling enough power to fry the rectifier and the switch? John's comment about the need to set the over-current protection correctly might explain all – possibly the VFD was been running in 'Damn the Torpedos' mode, which works very well until something goes wrong! What should Kevin do to confirm the motor is OK?
Dave
Edited By SillyOldDuffer on 03/02/2019 13:18:13