Hello,

I have a very simple request, but I can't figure it out on my own. I'm attaching a sketch. In it, there are 3 solid lines, forming a triangle. Two of them are defined, but the last one is not - it lacks height dimension. I want to dimension it by equation so that the resulting area of the triangle (formed by solid lines) would be 2 square centimeters. How do I do that?

This is a simple example, but I'm working with complex shapes including splines, circles, and so on, where the same is required - to adjust one line to keep the area equal to desired number. So a simple trigonometry might work with triangle, but won't work with complex shapes.

Can anyone help, please?

Never mind the initial post. That was a bit complicated, and did not fully explain what I meant.

Here is a better example.

I have a complex 3d solid shape (let's say a vase), which I need to extrude-cut to meet certain volume requirements. I do not know how much should I cut it, and trial-by-error method is far too much time-consuming (since I'll need to do this very often and fast).

How do I write an equation or something that will adjust extrude-cut depth to meet certain volume requirements?

Attaching a file with this example. Right now extrude-cut is 0.20m, but it rather should be an equation that adjusts cut Depth to meet exact volume requirement.

Can anyone shed any advice?