Grasshopper

algorithmic modeling for Rhino

Hello,

 

I am working on a project that uses series of two or more helicoids of different characteristics (heights, radii, direction of rotation, etc.). In order to evaluate the usability of the many different options available, I have been working on a grasshopper routine that would cut off the parts of the helicoids which do not allow for enough headroom to walk underneath them.

 

As you can see from the attached file, the plan is to:

1. Measure the height through vertical lines linking a series of points contained in both surfaces.

2. From the collection of points whose distance to the surface above is less than the necessary headroom, select the most exterior points. These points define the area within the surface which does not have enough headroom.

3. Link these points and project the resulting polyline onto the above surface.

4. Cut the above surface with the projected polyline.

 

The problem I am having, however, is that I am unable to appropriately close the polyline defined by these points.

 

Amongst the different options tested, I have tried using the Delaunay Edges tool in order to draw the outer line of the group of points. However, this does not seem to work as this tool does not link closest points (it jumps to the next exterior point). I have also searched in the forum but have not found any discussions which could help me figure this out.

 

I am stuck so any help is very much appreciated.

 

Many thanks,

Sergio.

Views: 353

Attachments:

Replies to This Discussion

have you looked at the Convex Hull component? (next to Delaunay on the tool bar)

Hi Danny,

 

Thanks for your response. Yes, I did try it but with similar unsuccessful results: if the group of points has an awkward shape, it seems to me that neither of these two components is useful for this operation--unless, of course, that I am using them in a wrong way. Did you try it? Does it work for you?

 

Thanks again,

Sergio.

Hello,

 

Does anybody have any suggestions? I am quite new to Grasshopper so any insights would go a long way.

 

Many thanks in advance for your time,

Sergio.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service