Grasshopper

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: 5374

Comment

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

Comment by Bathsheba Grossman on February 18, 2021 at 6:24pm

still works, gotta update old components

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

http://www.grasshopper3d.com/forum/topics/skeleton-frame-of-a-given...

and I believe Arthur was trying to find out too here

http://www.grasshopper3d.com/forum/topics/code-to-extract-center-cu...

Any help very much appreciated.

Best,

Christos

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.


100413-MedialAxis-Islands.ghx
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!

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service