Grasshopper

algorithmic modeling for Rhino

Hi Everyone,

Does anyone happen to know how to merge a series of line pairs into a collapsed series of lines as shown in the jpeg?  Would really appreciate some insight!

Views: 717

Attachments:

Replies to This Discussion

Hi.

Take a look at the attachment.

Attachments:

Thanks Hyungsoo Kim!

This is perfect.  However, I think that the pairs of surfaces that join together need to be determined by the width of each band.  To do this, I created a domain of points along the the edge curves of pairs of bands.  These points can be connected to create a domain of lines along each pair of bands.  The first and last line that reach a minimum distance from this set of lines will be used to split the bands into sections that are greater than the minimum width and less than the minimum width.  The band pairs that lie within the portion that is less than the minimum width will join.  The portion of the bands will be checked again in pairs, and if the pairs are still less than the minimum distance, they will be joined again.  This iterative process will go on until there are no portions of the band that are less than the minimum distance.  Then the segments will be joined as you have show.  I have attached a diagram to show what I am trying to achieve.  Do you think this is possible with grasshopper or does this need some scripting?

Attachments:

As you said, unless GH is AI or your persona , you'll need more difficult scripting to respond to your delicate needs.

The method I've provided is not a global solution, but in fact it is close to a manual approach.

One thing you should consider is whether your work is worthy of need for such a global solution using hard coding or scripting.

Sometimes manual methods are better than AI when you are dealing with special geometry.

keep up good work.

Thanks yes I understand. I am going to be using this definition for a series of art pieces so I think it would be worth while to create a comprehensive global solution. I think I can get the Hoopsnake plugin to accomplish what I am looking for in terms of joining the surfaces that are too narrow.  And you have very helpfully showed how the curves could be joined at the edge conditions.  I have now established a way to portion out the regions who's area falls under a certain width with a series of curves.  If you look at the latest definition, I have pulled out the sort list component which highlights these curves that establish these " smaller width zones."  Do you know of a way I can select the end curves of each of these regions to be used to split the overall surface?

Attachments:

That is very easy compared to your goal.

And this is going to be the last to help you with this case. Good luck.

Attachments:

Thank you for your help Hyungsoo

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service