Road Radius

Please help with the creation of radii between the road and the site. The point on the site is floating, and it connects with the line of the road, forming one line. The result I want to get on the last slide.

road (30.2 KB)
road radius.3dm (85.2 KB)

simplify the (13.2 KB)

Thanks for the help. I modified your script a bit to make it more flexible. Why does “Nurbs” flip the points, and why can’t I make a larger radius, how do I create a max radius?

You need to show the GH on your side.
And please don’t upload 3DM.

simplify the (12.3 KB)

Please internalize it.

It is a simple line that does not cross the rectangle