Grasshopper

algorithmic modeling for Rhino

Hi all,

 

I have managed to test out a definition for deleting curves close to an attractor curve but how do I invert the effect?

 

As of now, curves further away from the attractor are deleted but how do I invert to make curves close to attractor deleted?

 

Thank you

Views: 1770

Attachments:

Replies to This Discussion

Invert the data with the 1/x component an then use multiply to adjust the data accordingly, another way would be use the smaller than component. So use the end points component to get points from the line. Do distance between the start points to the attractor, plug that list into smaller than and test against another number of you choice in a slider. Put this output to the pattern for a cull pattern and put the list to cull as the list of lines. Essentially saying if a number is less than this distance away then remove it.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service