Your comments

As usual when programming, things don't work due to stupid errors...

Here, defining CurrentModel as a Model3DGroup instead of a Model3D allows to solve the problem.