Static mesh tool, is a simple plugin that allows you to use modification scripts.
The basic display allows you to view some basic information and an estimate of the final size of the static mesh based on 13MB per 100K vertices.
If a script is enabled and returns information, it will be returned in the info text.
To do this, simply click on the button + create a new script .
Once created you have to override 2 functions;
Exec : which is the execution of the script
Preview info ; which allows to send information back to the plugin to display them .
Preview info returns only one string, and exec does not return, so you have to execute the changes in the script.