Creation of radii at sharp corners of the road

I want to parameterize the rounding of the road at the sharp corners of the line. I can do it in the rhino environment, but I don’t know how to do it in the grass. Please help, thank you

road (9.0 KB)
road radius.3dm (426.7 KB)

Rainbow road !!!

road (20.2 KB)


Here another version with some differences from @magicteddy. Here I filter by angle, measured in 3d space. It was not clear if you wanted that or if you didn’t finish it in Rhino I also draw the circle in 3d space. But the fillet corner doesn’t work well here.

road radius (20.0 KB)


Thank you, you helped me a lot.