Morphing a brep to a non linear reference box


I would like to morph a brep with its reference bounding box to a non-orthogonal reference box. Please see the image attached.
It only seems to works with linear boxes. I also tried the point deform, spatial deform, … but couldn’t really get it to work.

The bigger outer box would be my reference box for the brep, the smaller curvy, non linear box would be my outcome reference box.

Thanks in advance.
Best regards

use taper

What did you try exactly? show us? Spatial deform works, but that doesn’t mean it’s the desired result

example.ghx (213.3 KB)

Well the issue is right in your wording and you will understand. It cannot be a reference box because a box has straight edges.