hello!

I’ll get straight into my question. Basically I have a ship hull (closed brep) that i have to calculate some stability stuff for (specifics not too important). To do this i have the ship hull itself and a cutting plane. The ship’s hull is rotated, and then the cutting plane cuts the hull shape, so that i only calculate the volume under the waterline.

The problem comes from the fact that the volume has to stay constant regardless of the rotation of the ship. I already have found a way to move the cutting plane (waterline) up and down. I however don’t have a way to find the correct height so that the underwater volume stays the same as in the upright situation.

I was trying to look for a solver that will solve for a certain input value to obtain the correct volume, but i haven’t found anything. I have also tried to make some scripts with grasshopper python with no success.

Hopefully someone has a way of solving this. Any help is greatly appreciated!