this script is used before to export scenes in any other format.
it unparents and reparents objects if necessary, collapse into mesh, center pivot, reset xform and, if you choice, reassign smoothing group (default with 45° threshold).
to assign a shortcut: "customize user interface" -> "mainUI" -> "compariello"