algorithmic modeling for Rhino


I have 2 circles which I divide and make rays out of them. These rays intersect, sometimes more than once, and I would like to trim the rays after their first intersection. How can this be done?

This ultimate goal would be to apply this to a more complex tree:

Views: 1268


Replies to This Discussion

Why are your circles so incredibly far away from the origin?

-289934.35168, 24733.23505!!!?  -298104.13466, 23503.67451!!!?

This effort demonstrates a tricky detail that your diagram also missed.  See the four short "rays" that don't touch anything?  They happen because the lines they intersect with have been chopped off by intersecting other lines, so these four never actually touch any other lines.  This suggests to me an iterative process (Anemone loop) that tests and cuts one pair of lines at a time, though it would be difficult to know where to start, which pairs to check first.


Mmm you are indeed right Joseph, Those are actually the "first" intersections on the curve...
Maybe the thing is not to trim the line, but to cull the non wanted points. Then the lines can be reconstructed with these intersection points. But again, how would one cull the list of points so that only the correct ones remain?

Not the best way, but work, First restart the data recorder and then animate the rays








  • Add Photos
  • View All


  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service