Help Needed with Filleting Corners in Grasshopper Script

Hi all,

I’m working with a curve and need to fillet all corners with a specific radius, ensuring precision is maintained. If a fillet isn’t possible, I’d like a component that highlights this in red. I’ve tried using the three available components, but the only one that partially works only fillets two corners at a time. This script is part of a larger workflow that requires multiple fillets.

I’ve attached the script. Any ideas on how to achieve this?
Fillet a Curve.gh (12.6 KB)

Regards,
Gianfranco

for this polyline:

which other corners would you expect to be filleted?

The problem is not the number of corners. Explanation in the image. I wanted to have a direct control on the radius applied if possible.