So you want the projected bounding box of the object at different z elevations.
You may be able to get somewhere with the expressions to convert from a position to a layer.
Mathematically you should be able to calculate it with the object’s position and the fov of the camera. Basically a 3d projection to the screen if you want to find more info about that online.
A third way is to just do some trial and error.
Like set y to y to self.y-k*self.zelevation
Fiddle around with the value of k till everything is just offscreen.