Grasshopper

algorithmic modeling for Rhino

Hi everybody,

Imagine that I have a bunch of lines and some intersect and some don't. Could you please tell me waht is the command that I can use to put the lines that have intersections make one thing and the ones that doesn´t have intersections do another thing?

Thank you for the help 

Views: 1264

Replies to This Discussion

look at the dispatch component

you have to first assess the intersecting condition and insert into the P as a list of true or false for each item in your curve list.

The dispatch will retrieve you the curves at the A or B output according to the true or false list

Intersecction components, then you clean the tree from null items (lines that don't itersect) and you have only intersecting line.

This is another way with collision component.

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