Medial axis



Hello every one,
I have a 2D geometry like this:

My aim is to generate the medial axis for this geometry by Rhinoscript (My application is not suitable to use Grasshopper)

Do you guys have any idea how to implement it in Rhinoscript
Medial axis.3dm (343.8 KB)
Thanks and best regards,


I don’t know anything about rhinoscript and have no idea how to do this without grasshopper but the medial axis of that shape is not the way you drew it but more something like this:


Hi Siemen,
Thank you so much for your answer.
Can you share me your grasshopper code?
I will find the way to call Grasshopper’s program from Rhinoscript.
Thanks and best regards,


Check this out

And this:
And this: Old Town Roofs