Grasshopper

algorithmic modeling for Rhino

Hi

I'm new in grasshopper and I have a simple question:

I have created a pattern and i want to close it at the edges. There are polygons in the middle with 4 items in the list (n=4) , and some polygons at the corners with three items (n=3) . I want to close the polygons at the corners by culling the list into n=3 and n=4. I appreciate your help

Views: 767

Replies to This Discussion

Hi Nilou,

please post a GH file (with 3DM if necessary) so we can work with the real data.

You don't have to include the entire file, you can just put all your curves into a single Curve parameter and then Internalise it (via the menu). 

--

David Rutten

david@mcneel.com

Thanks for your reply, here are the files.

I used a closed test to cull all interior curves, instead of counting the points. That's also possible, but closed/open seemed to make more sense here.

The problem is that after you cull the interior curves, the boundary curves are not in the correct order. I had to sort them along a rectangle to make it work:

--

David Rutten

david@mcneel.com

Attachments:

Many thanks David, it perfectly works for the design :)

Some different ways  for similar results. 

Attachments:

Thanks Paul, It seems that I haven't noticed this post for some time!

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