Hello,
I am new to Kangaroo, and I have a simple problem I am trying to solve:

I have two shapes: a plane and a box as shown in the photo:

The plane cuts the box into two parts (upper and lower).

The box is fixed, but the plane is allowed to move up and down.

I want to find the position of the plane such that the lower part is a certain value (let’s say 40% of the original box volume).

Can this be done in Kangaroo, and how?
I would appreciate any tips and advice.
Background about the question: I am currently working on floating city project at Princeton, and the box actually represents the platform of the floating city; the plane represents the waterline at rest.
Solving the problem above can help me understand the stability of floating cities using potential energy.
Thanks in advance!