Search code examples
geometrypolygongrasshopper

Maintain the area of a polygon when offsetting one side


I have an irregular polygon with the a specific area (area_red). How can I get the (parallel) offset value (y) of n selected sides in order to maintain the same area (area _red = area_green) when (parallel) offsetting one side by x?

enter image description here


Solution

  • ...Okay, I guess I will simply loop trough the offsets constanstly and check each time if the area is the same. lol.