Offset surface until desired area is met

I think the fastest approach is a script that uses
nested intervals

in short - two values are narrowed until the solution is within a interval, and the interval is within the needed tolerance.


As this approach needs recursion / loops it is a bit painful to implement with pure gh-components.

the attached solution uses a c# script component as a startingpoint.

the script still will need some fine-tuning regarding error-management, handling clockwise / counter-clockwise curves / start with more flexibility regarding the “init” of the first Interval…
curves that are not on World XY, …

but hopefully a starting point.
just for readability i use a custom class “OffsetData” to store Curve, OffsetCurve, Area, Offset-Distance…

230419_quantification tool_test geometry_help_03_tp.gh (26.5 KB)