algorithmic modeling for Rhino

I've just made a short post on my blog about medial axes.

Here is the definition file:MedialAxis.ghx

Views: 3293


You need to be a member of Grasshopper to add comments!

Join Grasshopper

Comment by BaZZ on May 21, 2019 at 1:26am

Hello. I try to start your script, but it does not work. Perhaps, it became outdated. May you update it?

Comment by trevor.patt on March 22, 2013 at 10:10am

@Christos, I left a brief description over at the link "skeleton-frame..."

Comment by Christos Antonopoulos on March 22, 2013 at 8:14am

Hello Daniel,

Thank you very much for this, even if old.

Any idea on how to implement this logic on a given 3d Mesh?

I have started a discussion here

and I believe Arthur was trying to find out too here

Any help very much appreciated.



Comment by trevor.patt on November 17, 2011 at 4:23pm

Added a new link at the bottom of the blogpost.

Note: the script allows a mixture of curves with various number of holes as you can see in the image, however it does not calculate the interior islands, you have to match their datapath to the path of the respective boundary curve before inputting that information to the script. Also, it seems to have trouble with certain slider settings. I haven't determined why this is.


Comment by GregA on November 17, 2011 at 2:01pm

Cheers Trevor,

I thought it must have been due to an upgrade.

Hey, thanks also for the link to your revision of Daniels file via VB script. It's just a shame that it doesn't allow for hole punching like the image below by Evan.

Comment by trevor.patt on November 17, 2011 at 10:54am

GregA: the Curve|Curve Intersection has changed since that file was created, when no intersection occurs no branch is created either, meaning the Null component no longer finds the nonintersecting curves and the Boolean pattern doesn't match the data structure of the curves it is supposed to be culling.

I made this into a VB.NET script here. Hope it helps.

Comment by GregA on November 7, 2011 at 5:18pm

Hi Guys,

I think I must be missing something. I try to run the file by inputting a regular 2d polyline, however the Axes isn't generated. Instead all I get is a perpendicular line to the right. 

Any help would be great.



Comment by Evan C on April 13, 2010 at 3:42am
got it!

It's a little slow, but it works.

Comment by Daniel Piker on April 12, 2010 at 11:22am
That would be a really nice development of the definition. Afraid I'm too busy to help now, but good luck!
Comment by Evan C on April 12, 2010 at 10:22am
Daniel, this is very helpful... I'm been trying to modify your definition to work on sets of curves with interior 'islands' ... I'm having some luck, but the data structure is throwing me off.

this is essential what I'm trying to accomplish.

and this is what I've got so far.... so you can see, the problem is in the very last step - structuring the boolean pattern to remove the irrelevant curves....

do you have any ideas? see attached ghx.MedialAxis-mod.ghx





  • Add Photos
  • View All

© 2020   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service