Generate a rectangle from a point

I am trying to be able to generate a rectangle from a point that is between two rectangles. The point is a point that is inside that rectangle to be generated.
generate rectangle.gh (5.3 KB)

Here i made two rectangle2pts based on planes created from your two points. (my units are in decimal ft)


Re_generate rectangle.gh (8.1 KB)

Rectangle ‘X’ and ‘Y’ inputs accept domains. The ‘P’ input is the plane (point).


Rectangle_2024Jan3a.gh (4.8 KB)