Grasshopper

algorithmic modeling for Rhino

How to delete a list of points from a large list of points?

I have all the points that make the letter P and that includes the points inside the island of the P.

I also have only the points inside the island of the letter P, they are the same points that I found in the first place with the whole P.

 

My question is:

How can I delete the points inside the island?

 

I have two lists of points A and B, and the points on B = Island are also included in the list A. So, I want to delete those from the list A.

 

Any ideas?

 

I am going nuts with this!

 

Andres

Views: 5531

Replies to This Discussion

Hi Andres,

Why don't you do it in two stages. Find all points inside outer P curve and Cull Exterior Pts. Then Find all Points inside Inner P curve from Outer P Curve List and then Cull all Interior Points.

 

Another way might be to create a Solid Letter and find Inclusive Points.

I am looking at it, thanks Danny.

Danny, may I ask, why you use the -1, I see we get numbers like 2,1 and 0, so, we will get only -1, 0 and 1 ones.

 

What I was doing is to put a function like x=1 = all the Inside then select the inside circles and set it to x = 2, but it does not work...

 

Your way works

 

yet another way...

Saludos Luis, mil gracias... esto es lo malo de GH, cada definicion, es mejor que la otra y todas distintas...

 

Thanks a lot!

Saludos!

 

Andres

This all sounds vaguely familiar... ah, yes...

 

Evert came up with a def, but that may have been pre-point inclusion (also presuming you may be doing words next):

 

http://www.grasshopper3d.com/forum/topics/newbie-need-help?commentI...

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service