Grasshopper

algorithmic modeling for Rhino

Hi All, 

I have a little problem I'm hoping someone can give me a few pointer on. 

I'm attempting to label multiple points, depending on which curve they live inside. 

My method looks at whether each point is within each boundary, it builds a sequence based on a boundary tag (A,B,C) and multiplies this (using duplicate) by the number of points so i can then cull this list using the boundary test results, and assign the results to the original point positions. 

This seams to work only some of the time. Other times it gets slightly muddled. 

(There is a second tag which labels the boundary but this is not important)

Is there an easier way to do this? I am quite new to GH so may have got the wrong end of the stick.

Many thanks

Views: 753

Attachments:

Replies to This Discussion

Like this?

Attachments:

Hi Hyungsoo

That works great and is a lot less complicated than my version! 

Thanks for taking the time to respond. Much appreciated. :) 

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