Medial axis

unhandled

#1

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,
Lam


#2

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:


#3

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,
Lam


#4

Check this out https://generativelandscapes.wordpress.com/2015/07/14/landforms-created-through-topological-analysis-of-shapes-example-4-7/

And this: http://www.grasshopper3d.com/forum/topics/sand-dune-medial-axis-sample
And this: Old Town Roofs