Grasshopper

algorithmic modeling for Rhino

I have come across a issue, one I imagine can be solved quite easily. But I don't know the answer.

I simplified the definition quite a bit and attached it.

 

I have a point grid and multiple curves.

I want to select just the points outside of the curves.

 

The definition works fine with one curve, I can get select either the points either inside or outside (via the dispatch).

But once I add a second curve (or more) it doesn't work. 

I have grafted the curves inputting into the containment. Which works fine if I wanted the inside points. But because of the graft the points outside are worked out for the each curve individually and layers them on top of each other.

 

Is there a way I can get round this? So i just get the points on the outside of all the curves.

Or failing that, could I remove the list of inside points from list of initial point grid?

 

Thanks in advance.

Ben 

Views: 977

Attachments:

Replies to This Discussion

how about this one?

Attachments:

dedackelzucht

 

Firstly, thanks for your input.

Your definition works with the 2 curves but if you add a 3rd,4th,5th ect it doesn't.

 

I should probably have been a bit clearer in my first post. In the end the definition will have to cope with around 100 or so curves.

 

ben

there must be an easier way....

Attachments:

Hey,

I got a solution that works for more than 3 Crvs as well. Try it and give me some feedback

Best regards

DeDackel

Attachments:

with some more Information

DeDackel

Thanks again for your help.

I'm still having issues with your solution.

I have been testing it. But instead of using the circles drawn in grasshopper, I am using curves drawn in rhino and bought in (with grafted when inputted).

It works perfectly with 3 curves. But not if you add more.

 

ben

I'm sure there must be an easy way to solve this!

Any more suggestions would be greatly appreciated.

 

ben

Hi Ben, hi Dedackel, how does this work for you?

Peter that is a very helpful script. Thank you. I have been able to use that string in a project I am working on and have saved me a great deal of fumbling around.

Much appreciated!

I was avoiding the coincidence talk in my other reply, but now I find that I just happened to try to create a helpful containment UO... I think it needs two item number list outputs as well, but maybe you'd like to test it so far...

Attachments:

I gave this some more thought, I think this is more useful:

Attachments:

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