I am trying to write a script that re-sizes imported glb models to a fixed dimension (x/y/z = 1, whichever is the longest). The problem is that the models usually consist of many nested objects for which I can not get the absolute dimensions. I built a resizing function in Threejs but unfortunately blender doesn't seem to support giving absolute dimensions of a group of objects.
I am lost here, and would appreciate any hints towards a solution.