Grasshopper

algorithmic modeling for Rhino

Ok, so I'm working on this grasshopper file, and I want to parametrically trim the red lines that I'm generating with the light green ones, but I want it to just trim based on the furthest curve that the line hits.  I  was thinking that by intersecting all of the circles with all of the lines, I could figure out which lines intersect 3 times, which ones two times, etc. and therefore designate which circle to trim using depending on how many times the line intersects, but I'm not sure how to do that.  Bear in mind that I want to be able to adjust how many red circles (the ones that the light blue lines are hitting the midpoint) there are, from 2 to 3 to 4 etc, so I can't just break it down into separate commands for each circle either.

Please help!

Views: 352

Attachments:

Replies to This Discussion

How about this one?

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service